Function at 0x4adb30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x4adb65
mov al, byte [0x5fe7d8]
mov ecx, 0xff
mov byte [esp + 0x1d8], al
xor eax, eax
lea edi, [esp + 0x1d9]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor ecx, ecx
test esi, esi
stosb byte es:[edi], al
mov dword [esp + 0x14], ecx
jle 0x4adb65
mov eax, dword [ebp + 0x1c]
xor esi, esi
test eax, eax
mov dword [esp + 0x1c], esi
jle 0x4adb55
lea edi, [edx + 1]
mov dword [esp + 0x30], edi
imul eax, ecx
add eax, dword [ebp + 0x14]
cmp byte [eax + esi], 2
je 0x4adb45
mov ecx, dword [ebp + 0x18]
inc edx
mov edi, dword [esp + 0x30]
mov dword [esp + 0x18], edx
mov dword [esp + 0x54], edx
lea edx, [ecx + esi*4]
mov dword [esp + 0x50], 2
mov dword [esp + 0x58], 0
mov eax, dword [edx]
inc edi
mov dword [esp + 0x30], edi
cmp byte [eax + 0x14], 2
jne 0x4ad6d9
mov dword [esp + 0x6c], 3
jmp 0x4ad741
mov ecx, 0x58
xor eax, eax
lea edi, [esp + 0x78]
rep stosd dword es:[edi], eax
mov edx, dword [edx]
mov eax, dword [edx + 0xc]
test eax, eax
jne 0x4ad6f2
mov eax, dword [edx + 0x10]
push 0x110
lea ecx, [esp + 0x7c]
push 0x160
push ecx
push 0x80
push eax
call dword [0x5974cc]
mov eax, dword [esp + 0x78]
test eax, eax
jne 0x4ad71f
mov dword [esp + 0x6c], 3
jmp 0x4ad741
mov edx, dword [ebx + 0x84]
push eax
push 0xffffffffffffffff
push edx
call dword [0x59705c]
mov eax, dword [ebx + 0x84]
push eax
call dword [0x597058]
dec eax
mov dword [esp + 0x6c], eax
mov edx, dword [ebx + 0xb8]
lea ecx, [esp + 0x50]
push ecx
push 0
push 0x1007
push edx
call dword [0x5977c4]
mov eax, dword [0x5f9f88]
mov dword [esp + 0x28], eax
inc esp
and al, 0x28
mov dword [esp + 0x5e0], 0
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x10]
push eax
push 0x5e78d4
push ecx
mov byte [esp + 0x5ec], 1
call 0x5bceb4
mov edx, dword [ebp + 0x18]
sbb byte [ebx + 0x48b0cc4], al
mov dl, 0x8b
push ebp
or al, 0x8b
dec eax
xor byte [ebx - 0x74ebdbbc], cl
add al, 0x82
mov edx, dword [eax + 0x68]
mov eax, dword [eax + 0x64]
push edx
push eax
push ecx
lea ecx, [esp + 0x34]
push 0x5ec048
push ecx
call 0x5bceb4
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x3c]
add esp, 0x14
lea ecx, [ebx + 0x64]
push edx
push eax
call 0x5c02f2
mov ecx, eax
call 0x5c1895
mov esi, dword [ebx + 0x90]
lea edi, [ebx + 0x88]
push 0xffffffffffffffff
lea ecx, [esi + 1]
push ecx
mov ecx, edi
call fcn.00545340
mov edx, dword [edi + 4]
mov ecx, dword [esp + 0x18]
add ebx, 0x9c
mov dword [edx + esi*4], 0xffffffff
mov eax, dword [esp + 0x10]
push eax
push 0
push ecx
mov ecx, ebx
call 0x5bdff1
mov edi, 0x5fe7d8
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x1d8]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 0x18]
mov esi, dword [esp + 0x1c]
mov eax, dword [ecx + esi*4]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x4ad852
mov eax, ecx
jmp 0x4ad855
mov eax, dword [eax + 0x10]
lea edx, [esp + 0x1d8]
push edx
push eax
call fcn.00493770
add esp, 8
lea eax, [esp + 0x1d8]
lea ecx, [esp + 0x10]
push eax
call 0x5c1895
lea ecx, [esp + 0x10]
call str.T_4hL
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
push ecx
push 1
push edi
mov ecx, ebx
call 0x5bdff1
mov edx, dword [ebp + 0x18]
mov ecx, dword [edx + esi*4]
mov eax, dword [ecx + 0x18]
mov edx, dword [ecx + 0x1c]
mov dword [esp + 0x3c], eax
or eax, edx
mov dword [esp + 0x40], edx
jne 0x4ad8d1
cmp byte [ecx + 0x14], 2
jne 0x4ad8c1
push 0x5e9a7c
lea ecx, [esp + 0x14]
call 0x5c1895
jmp 0x4ad927
push 0x5e9a74
lea ecx, [esp + 0x14]
call 0x5c1895
jmp 0x4ad927
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
push 1
push ecx
push eax
lea eax, [esp + 0x1e4]
push eax
call fcn.00493190
mov ecx, dword [ebp + 0x18]
add esp, 0x10
mov edx, dword [ecx + esi*4]
cmp byte [edx + 0x14], 2
jne 0x4ad90d
lea eax, [esp + 0x1d8]
lea ecx, [esp + 0x10]
push eax
push 0x5ec03c
push ecx
jmp 0x4ad91f
lea edx, [esp + 0x1d8]
lea eax, [esp + 0x10]
push edx
push 0x5ec030
push eax
call 0x5bceb4
add esp, 0xc
mov ecx, dword [esp + 0x10]
push ecx
push 2
push edi
mov ecx, ebx
call 0x5bdff1
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x14]
imul edx, dword [esp + 0x14]
add edx, eax
mov al, byte [edx + esi]
test al, al
jne 0x4ad951
push 0x5ec020
jmp 0x4ad961
cmp al, 2
jne 0x4ad95c
push 0x5ec010
jmp 0x4ad961
push 0x5ec000
lea ecx, [esp + 0x14]
call 0x5c1895
mov eax, dword [esp + 0x10]
mov ecx, ebx
push eax
push 3
push edi
call 0x5bdff1
mov edi, 0x5fe7d8
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x1d8]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [0x5f9f88]
mov dword [esp + 0x20], ecx
mov edx, dword [ebp + 0xc]
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x5e0], 2
mov eax, dword [edx + esi*4]
add al, 0xb2
add eax, 0x6c
push eax
call 0x5c177a
lea ecx, [esp + 0x2c]
mov byte [esp + 0x5e0], 3
call str.T_4hL
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + esi*4]
lea ecx, [esp + 0x24]
add edx, 0x32
push edx
call 0x5c177a
lea ecx, [esp + 0x24]
mov byte [esp + 0x5e0], 4
call str.T_4hL
lea eax, [esp + 0x2c]
push 0x5e77c0
lea ecx, [esp + 0x50]
push eax
push ecx
call 0x5c19a1
lea edx, [esp + 0x24]
mov byte [esp + 0x5e0], 5
push edx
push eax
lea eax, [esp + 0x4c]
push eax
call 0x5c193b
push 0x5e77bc
lea ecx, [esp + 0x38]
push eax
push ecx
mov byte [esp + 0x5ec], 6
call 0x5c19a1
push 0x5ea618
lea edx, [esp + 0x4c]
push eax
push edx
mov byte [esp + 0x5ec], 7
call 0x5c19a1
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x5e4], 8
call 0x5c1845
lea ecx, [esp + 0x48]
mov byte [esp + 0x5e0], 7
call 0x5c170c
lea ecx, [esp + 0x34]
mov byte [esp + 0x5e0], 6
call 0x5c170c
lea ecx, [esp + 0x44]
mov byte [esp + 0x5e0], 5
call 0x5c170c
lea ecx, [esp + 0x4c]
mov byte [esp + 0x5e0], 4
call 0x5c170c
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x18]
push eax
push 4
push esi
mov ecx, ebx
call 0x5bdff1
mov eax, dword [ebp + 8]
mov ecx, ebx
push eax
push 0
push 0
push 0
push 0
push 4
push 0
push esi
call 0x5bdf78
lea ecx, [esp + 0x24]
mov byte [esp + 0x5e0], 3
call 0x5c170c
lea ecx, [esp + 0x2c]
mov byte [esp + 0x5e0], 2
call 0x5c170c
lea ecx, [esp + 0x20]
mov byte [esp + 0x5e0], 1
call 0x5c170c
lea ecx, [esp + 0x10]
mov byte [esp + 0x5e0], 0
call 0x5c170c
lea ecx, [esp + 0x28]
mov dword [esp + 0x5e0], 0xffffffff
call 0x5c170c
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x38]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov eax, dword [ebp + 0x1c]
inc esi
cmp esi, eax
mov dword [esp + 0x1c], esi
jl 0x4ad68f
mov eax, dword [ebp + 0x10]
inc ecx
cmp ecx, eax
mov dword [esp + 0x14], ecx
jl 0x4ad677
mov ecx, dword [ebx + 0x5c]
mov ebp, dword [ebp + 4]
cmp ebp, dword [ecx + 8]
je 0x4adb78
test ebp, ebp
jne 0x4ad63f
mov ecx, dword [esp + 0x5d8]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x5d4
ret