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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4e0be8
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x510918]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov eax, ebx
mov edi, ebx
mov dl, bl
mov dword [esp + 0x30], ebx
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x18], edi
mov byte [esp + 0x12], dl
mov byte [esp + 0x34], 3
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
and dword [esp + 0x28], edi
mov dword [esp + 0x70], ebx
mov ebx, dword [ebp + 8]
mov dword [esp + 0x1c], ebx
xor ebx, ebx
inc ebx
cmp dword [esi + 0x2c], edi
jbe 0x49c42a
mov ecx, dword [esp + 0x28]
mov eax, dword [esi + 0x28]
mov eax, dword [eax + ecx*4]
mov ecx, dword [esp + 0x14]
sub eax, 0
je 0x49c3c4
dec eax
je 0x49c34e
dec eax
je 0x49c319
dec eax
je 0x49c2ba
dec eax
je 0x49c239
dec eax
je 0x49c21e
sub eax, 3
jne 0x49c44a
test dl, dl
jne 0x49c44a
mov byte [esp + 0x34], 0xa
jmp 0x49c226
test dl, dl
jne 0x49c44a
mov dl, bl
lea eax, [esp + 0x54]
mov byte [esp + 0x12], dl
mov dword [esp + 0x1c], eax
jmp 0x49c3ed
mov edi, dword [esp + 0x2c]
lea eax, [esp + 0x38]
push eax
lea ecx, [esi + 0x78]
mov edx, edi
call fcn.0049c84c
pop ecx
test al, al
je 0x49c44a
mov edx, dword [esp + 0x38]
lea eax, [esp + 0x3c]
inc edi
push eax
lea ecx, [esi + 0x18]
mov dword [esp + 0x30], edi
call fcn.0049c84c
pop ecx
test al, al
je 0x49c44a
mov eax, dword [esi]
add eax, dword [esp + 0x3c]
lea ecx, [esi + 0x88]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x18]
push eax
call fcn.0049b70f
test al, al
je 0x49c44a
mov ecx, dword [esp + 0x1c]
push 4
lea eax, [esp + 0x44]
push eax
call fcn.0049aad9
test al, al
je 0x49c44a
mov edi, dword [esp + 0x18]
add edi, 4
jmp 0x49c3e5
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x44]
push eax
lea ecx, [esi + 0x68]
call fcn.0049c84c
pop ecx
test al, al
je 0x49c44a
mov edx, dword [esp + 0x44]
inc dword [esp + 0x24]
lea eax, [esp + 0x48]
push eax
lea ecx, [esi + 8]
call fcn.0049c84c
pop ecx
test al, al
je 0x49c44a
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x1c]
sub eax, edi
sub eax, 4
mov dword [esp + 0x40], eax
push 4
lea eax, [esp + 0x44]
push eax
call fcn.0049aad9
test al, al
je 0x49c44a
jmp 0x49c2b2
cmp ecx, dword [esi + 0x5c]
jae 0x49c44a
mov eax, dword [esi + 0x58]
push ebx
mov al, byte [ecx + eax]
inc ecx
mov byte [esp + 0x17], al
lea eax, [esp + 0x17]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x20]
push eax
call fcn.0049aad9
test al, al
je 0x49c44a
inc edi
jmp 0x49c3e5
mov ebx, dword [esp + 0x20]
lea eax, [esp + 0x4c]
push eax
lea ecx, [esi + 0x48]
mov edx, ebx
call fcn.0049c84c
pop ecx
test al, al
je 0x49c44a
and dword [esp + 0x18], 0
inc ebx
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x4c]
test ebx, ebx
je 0x49c3bd
mov ecx, dword [esp + 0x14]
cmp ecx, dword [esi + 0x5c]
jae 0x49c44a
mov eax, dword [esi + 0x58]
push 1
mov al, byte [ecx + eax]
inc ecx
mov byte [esp + 0x17], al
lea eax, [esp + 0x17]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x20]
push eax
call fcn.0049aad9
test al, al
je 0x49c44a
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x18], eax
cmp eax, ebx
jb 0x49c37c
add edi, ebx
xor ebx, ebx
inc ebx
jmp 0x49c3e5
mov edi, dword [esp + 0x30]
lea eax, [esp + 0x50]
push eax
lea ecx, [esi + 0x38]
mov edx, edi
call fcn.0049c84c
pop ecx
test al, al
je 0x49c44a
inc edi
mov dword [esp + 0x30], edi
mov edi, dword [esp + 0x50]
mov dl, byte [esp + 0x12]
mov dword [esp + 0x18], edi
mov eax, dword [esp + 0x28]
inc eax
mov dword [esp + 0x28], eax
cmp eax, dword [esi + 0x2c]
jb 0x49c1d4
test dl, dl
je 0x49c426
push dword [esp + 0x34]
mov edi, dword [ebp + 8]
push edi
mov ecx, esi
call fcn.0049c4ac
test al, al
je 0x49c44a
lea eax, [esp + 0x54]
push eax
mov ecx, edi
call fcn.0049aba7
test al, al
je 0x49c44a
mov eax, dword [esp + 0x20]
cmp eax, dword [esi + 0x4c]
jne 0x49c44a
mov eax, dword [esp + 0x14]
cmp eax, dword [esi + 0x5c]
jne 0x49c44a
mov eax, dword [esp + 0x2c]
cmp eax, dword [esi + 0x7c]
jne 0x49c44a
mov eax, dword [esp + 0x24]
cmp eax, dword [esi + 0x6c]
je 0x49c44c
xor bl, bl
lea ecx, [esp + 0x54]
call fcn.0044dac6
mov al, bl
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4