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

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0xa24
test eax, eax
push ebx
push ebp
push esi
push edi
jne 0x49b4f1
pop edi
pop esi
pop ebp
mov ax, 0x10
pop ebx
add esp, 0xa24
ret
mov ecx, dword [0x488720]
mov eax, dword [eax + 0x54]
push ecx
push eax
call fcn.004935c0
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x49b519
pop edi
pop esi
pop ebp
mov ax, 2
pop ebx
add esp, 0xa24
ret
mov ax, word [ebp + 0x44]
test ax, ax
je 0x49baec
cmp ax, 0xffff
je 0x49baec
mov edx, dword [esp + 0xa3c]
push ebp
and edx, 0xfff
push edx
call fcn.0049b4a0
add esp, 8
test ax, ax
je 0x49b561
push ebp
push eax
call fcn.00492640
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa24
ret
mov eax, dword [esp + 0xa44]
test eax, eax
je 0x49b4e2
mov esi, dword [esp + 0xa50]
test si, si
jbe 0x49b4e2
cmp si, 0x38
jbe 0x49b595
pop edi
pop esi
pop ebp
mov ax, 0x14
pop ebx
add esp, 0xa24
ret
xor eax, eax
mov ebx, dword [fcn.004891ec]
mov dword [esp + 0x24], eax
xor edx, edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x24]
movsx ecx, word [ebp + 0x5a]
mov dx, word [ebp + ecx*2 + 0x46]
push edx
push 0x485098
push eax
call ebx
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x48], ecx
lea eax, [esp + 0x48]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dx, word [ebp + 0x44]
push edx
push 0x485098
push eax
call ebx
mov ecx, 0xc
xor eax, eax
lea edi, [esp + 0x78]
lea edx, [esp + 0x78]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0xa58]
and ecx, 0xffff
push ecx
push 0x485098
push edx
stosw word es:[edi], ax
call ebx
mov ecx, dword [esp + 0xa60]
xor eax, eax
mov dword [esp + 0x3c], eax
push ecx
lea edx, [esp + 0x40]
mov dword [esp + 0x44], eax
push 0x48518c
push edx
mov dword [esp + 0x50], eax
call ebx
mov ecx, 0x1c
xor eax, eax
lea edi, [esp + 0x138]
rep stosd dword es:[edi], eax
mov ecx, 0x1c
lea edi, [esp + 0xc4]
rep stosd dword es:[edi], eax
mov eax, esi
mov esi, dword [esp + 0xa74]
and eax, 0xffff
lea edi, [esp + 0x138]
mov ecx, eax
mov dword [esp + 0x44], eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x138]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0xc4]
push ecx
push eax
push edx
call fcn.0049ce90
mov ecx, dword [esp + 0x50]
xor eax, eax
mov dword [esp + 0x6c], eax
push ecx
lea edx, [esp + 0x70]
mov dword [esp + 0x74], eax
push 0x485098
push edx
mov dword [esp + 0x80], eax
call ebx
mov esi, dword [esp + 0xaa0]
add esp, 0x48
mov edi, 0x485384
mov cl, byte [esi]
mov dl, byte [edi]
mov al, cl
cmp cl, dl
jne 0x49b6e3
test al, al
je 0x49b6df
mov dl, byte [esi + 1]
mov cl, byte [edi + 1]
mov al, dl
cmp dl, cl
jne 0x49b6e3
add esi, 2
add edi, 2
test al, al
jne 0x49b6bb
xor eax, eax
jmp 0x49b6e8
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x49b749
mov ecx, dword [esp + 0xa54]
mov dword [esp + 0x48], eax
and ecx, 0xffff
lea edx, [esp + 0x48]
push ecx
mov dword [esp + 0x50], eax
push 0x485098
push edx
mov dword [esp + 0x5c], eax
call ebx
lea eax, [esp + 0x54]
lea ecx, [esp + 0x3c]
push eax
lea edx, [esp + 0xa4]
push ecx
lea eax, [esp + 0x2c]
push edx
lea ecx, [esp + 0x78]
push eax
lea edx, [esp + 0x58]
push ecx
lea eax, [esp + 0x44]
push edx
push eax
push 7
push 0x485090
call fcn.0049d680
add esp, 0x30
jmp 0x49b779
lea ecx, [esp + 0x30]
lea edx, [esp + 0x94]
push ecx
lea eax, [esp + 0x1c]
push edx
lea ecx, [esp + 0x68]
push eax
lea edx, [esp + 0x48]
push ecx
lea eax, [esp + 0x34]
push edx
push eax
push 6
push 0x485090
call fcn.0049d680
add esp, 0x20
mov edx, eax
test edx, edx
jne 0x49b795
push ebp
push 0x4a
call fcn.00492640
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa24
ret
mov ecx, 0x64
xor eax, eax
lea edi, [esp + 0x584]
lea ebx, [esp + 0x584]
rep stosd dword es:[edi], eax
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push edx
mov eax, ecx
mov esi, edi
mov edi, ebx
mov ebx, dword [fcn.00489254]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call ebx
xor ecx, ecx
lea edx, [esp + 0x58]
mov dword [esp + 0x58], ecx
lea eax, [esp + 0x588]
mov dword [esp + 0x5c], ecx
push edx
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0xa60]
push eax
push ecx
push 3
push 0x484f8c
call fcn.0049d680
mov edx, eax
add esp, 0x18
test edx, edx
jne 0x49b820
push ebp
push 0x4a
call fcn.00492640
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa24
ret
mov ecx, 0x64
xor eax, eax
lea edi, [esp + 0x3f4]
lea esi, [esp + 0x3f4]
rep stosd dword es:[edi], eax
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x10], esi
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x10]
push edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call ebx
lea ecx, [esp + 0x3f8]
push ecx
call fcn.0049d760
mov edx, eax
add esp, 8
test edx, edx
jne 0x49b889
push ebp
push 0x4a
call fcn.00492640
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa24
ret
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
lea esi, [esp + 0x3f4]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x10], esi
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x10]
push edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call ebx
mov ecx, 0x64
xor eax, eax
lea edi, [esp + 0x268]
lea edx, [esp + 0x3f8]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x268]
push ecx
push ebp
push edx
call fcn.00499a50
add esp, 0x10
test ax, ax
je 0x49b8fb
push ebp
push eax
call fcn.00492570
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa24
ret
lea eax, [esp + 0x264]
push eax
call fcn.0049d450
mov esi, eax
add esp, 4
test esi, esi
jne 0x49b927
push ebp
push 0x42
call fcn.00492640
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa24
ret
mov ecx, 0x64
xor eax, eax
lea edi, [esp + 0x714]
lea edx, [esp + 0x8a4]
rep stosd dword es:[edi], eax
mov ecx, 0x64
lea edi, [esp + 0x8a4]
rep stosd dword es:[edi], eax
mov ecx, 0x64
lea edi, [esp + 0x264]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x264]
lea eax, [esp + 0x714]
push ecx
push edx
push eax
push esi
push 3
push 0x484f8c
call fcn.0049d2b0
push esi
mov edi, eax
call ebx
add esp, 0x1c
test di, di
je 0x49b99b
push ebp
push 0x42
call fcn.00492640
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa24
ret
mov esi, 0x485088
lea eax, [esp + 0x714]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x49b9cf
test cl, cl
je 0x49b9cb
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x49b9cf
add eax, 2
add esi, 2
test cl, cl
jne 0x49b9a7
xor eax, eax
jmp 0x49b9d4
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x49b9fb
lea eax, [esp + 0x8a4]
push eax
call dword [fcn.00489208]
push ebp
push eax
call fcn.00492640
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa24
ret
mov ecx, 0x1c
xor eax, eax
lea edi, [esp + 0x1f0]
lea edx, [esp + 0x94]
rep stosd dword es:[edi], eax
mov ecx, 0x1c
lea edi, [esp + 0x94]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x1f0]
lea eax, [esp + 0x264]
push ecx
push edx
push eax
push 2
push 0x485090
call fcn.0049d2b0
add esp, 0x14
test ax, ax
je 0x49ba5b
push ebp
push 0x42
call fcn.00492640
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa24
ret
mov ecx, 0x1c
xor eax, eax
lea edi, [esp + 0x17c]
lea edx, [esp + 0x94]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x17c]
push ecx
push edx
call fcn.0049cf20
mov edi, dword [esp + 0xa50]
add esp, 8
test edi, edi
je 0x49baa7
mov ecx, dword [esp + 0x14]
lea esi, [esp + 0x17c]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0xa4c]
test esi, esi
je 0x49bac5
lea ecx, [esp + 0x1f0]
push ecx
call dword [fcn.004891f0]
add esp, 4
mov dword [esi], eax
lea esi, [ebp + 0x68]
push esi
call dword [fcn.00489268]
mov edi, dword [esi]
push ebp
add edi, 0x78
push 0
mov dword [esi], edi
call fcn.00492640
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa24
ret
pop edi
pop esi
pop ebp
mov ax, 0x47
pop ebx
add esp, 0xa24
ret