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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [eax]
push ebx
push esi
mov esi, dword [eax + 8]
xor ebx, ebx
cmp esi, ebx
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0x10], eax
jne 0x49e48a
cmp dword [eax + 0x78], ebx
jne 0x49e47f
mov ecx, dword [eax]
test byte [ecx + 0x50], 8
jne 0x49e47f
mov byte [eax + 0x17], 1
mov ebx, eax
call fcn.0043c140
mov esi, eax
xor ebx, ebx
cmp edi, ebx
mov eax, edi
mov dword [esp + 0xc], edi
je 0x49e700
jmp 0x49e4a4
mov eax, dword [esp + 0xc]
cmp byte [eax + 0x60], bl
mov edx, dword [eax + 0x2c]
mov dword [esp + 0x1c], edx
jne 0x49e4c2
mov eax, dword [eax + 0x48]
mov eax, dword [eax + 0x14]
cmp eax, ebx
je 0x49e4c2
mov ecx, dword [eax]
mov dword [esp + 0x14], ecx
jmp 0x49e4c6
mov dword [esp + 0x14], ebx
xor edi, edi
cmp dword [esp + 0x14], ebx
mov dword [esp + 0x18], edi
jle 0x49e590
cmp edi, 1
jne 0x49e528
mov edx, dword [esp + 0x1c]
cmp dword [edx + 0x20], 0x4c3010
jne 0x49e528
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x50]
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 8]
add edx, edi
add ecx, edi
mov edi, dword [eax + 0x30]
mov eax, dword [esi + 0x6c]
cmp dword [esi + 0x70], eax
jg 0x49e515
push edx
push ecx
push edi
push 0x5e
mov eax, esi
call fcn.0043c3b0
add esp, 0x10
jmp 0x49e57b
lea ebx, [eax + 1]
mov dword [esi + 0x6c], ebx
mov ebx, dword [esi + 0x68]
lea eax, [eax + eax*4]
lea eax, [ebx + eax*4]
xor ebx, ebx
jmp 0x49e565
mov ecx, dword [ebp + 0x14]
mov eax, dword [esp + 0xc]
lea edx, [edi + ecx]
mov ecx, dword [eax + 0x50]
mov eax, dword [esi + 0x6c]
add ecx, edi
cmp dword [esi + 0x70], eax
jg 0x49e553
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
push 0x5e
mov eax, esi
call fcn.0043c3b0
add esp, 0x10
jmp 0x49e57f
lea edi, [eax + 1]
mov dword [esi + 0x6c], edi
mov edi, dword [esi + 0x68]
lea eax, [eax + eax*4]
lea eax, [edi + eax*4]
mov edi, dword [ebp + 0xc]
mov byte [eax + 1], bl
mov dword [eax + 0x10], ebx
mov dword [eax + 0xc], edx
mov dword [eax + 8], ecx
mov dword [eax + 4], edi
mov word [eax + 2], bx
mov byte [eax], 0x5e
mov edi, dword [esp + 0x18]
add edi, 1
cmp edi, dword [esp + 0x14]
mov dword [esp + 0x18], edi
jl 0x49e4d6
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x58], ebx
mov edx, dword [ebp + 0x14]
mov dword [esp + 0x18], edx
jne 0x49e707
mov eax, dword [esp + 0x1c]
test dword [eax + 4], 0x1000
je 0x49e707
mov ecx, dword [esp + 0xc]
cmp byte [ecx + 0x11], 0x5a
je 0x49e707
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x49e5df
push ebx
push ebx
push edx
push 0x32
mov eax, esi
call fcn.0043c3b0
add esp, 0x10
mov dword [esp + 0x20], eax
jmp 0x49e608
mov edi, dword [esi + 0x68]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea eax, [ecx + ecx*4]
lea eax, [edi + eax*4]
mov byte [eax], 0x32
mov word [eax + 2], bx
mov dword [eax + 4], edx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov dword [esp + 0x20], ecx
cmp dword [ebp + 0x10], ebx
mov edi, dword [esp + 0xc]
jne 0x49e66b
mov ecx, dword [edi + 0x40]
push ebx
push 1
add ecx, 1
push ecx
push 0x56
push esi
call fcn.0043c3f0
mov edx, dword [edi + 0x40]
mov eax, dword [ebp + 0x14]
add esp, 0x14
push ebx
push edx
push eax
push 0x51
push esi
call fcn.0043c3f0
mov eax, dword [edi + 0x40]
add esp, 0x14
lea ecx, [eax + 2]
push ecx
push 2
push eax
push 0x61
push esi
call fcn.0043c3f0
mov edx, dword [edi + 0x40]
mov eax, dword [edi + 0x3c]
add esp, 0x14
push ebx
add edx, 2
push edx
push eax
push 0x8a
push esi
call fcn.0043c3f0
add esp, 0x14
jmp 0x49e6cc
mov ecx, dword [ebp + 0x14]
mov eax, dword [edi + 0x3c]
push ecx
push ebx
push eax
push 0x17
push esi
call fcn.0043c3f0
mov edx, dword [esi]
add esp, 0x14
cmp byte [edx + 0x57], bl
jne 0x49e69a
mov ecx, dword [esi + 0x68]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov byte [eax + 1], 0xfd
mov dword [eax + 0x10], 1
mov edx, dword [edi + 0x3c]
push ebx
push ebx
push edx
push 0x82
push esi
call fcn.0043c3f0
mov ecx, dword [esi]
mov eax, dword [esi + 0x6c]
add esp, 0x14
cmp byte [ecx + 0x57], bl
je 0x49e6bf
mov ecx, 0x4d6798
jmp 0x49e6c9
mov ecx, dword [esi + 0x68]
lea edx, [eax + eax*4 - 0xa]
lea ecx, [ecx + edx*4]
mov dword [ecx + 8], eax
mov edx, dword [esi]
cmp byte [edx + 0x57], bl
mov ecx, dword [esi + 0x6c]
je 0x49e6dd
mov eax, 0x4d6798
jmp 0x49e6ea
mov eax, dword [esp + 0x20]
mov edx, dword [esi + 0x68]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dword [eax + 8], ecx
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x24]
cmp eax, ebx
mov dword [esp + 0xc], eax
jne 0x49e4a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x40]
cmp eax, ebx
je 0x49e75f
sub eax, dword [ebp + 0x10]
add eax, 1
mov ecx, eax
mov eax, dword [esi + 0x6c]
cmp dword [esi + 0x70], eax
jg 0x49e734
push ebx
push 1
push ecx
push 0x56
mov eax, esi
call fcn.0043c3b0
add esp, 0x10
jmp 0x49e6ed
lea edx, [eax + 1]
mov dword [esi + 0x6c], edx
mov edx, dword [esi + 0x68]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov byte [eax], 0x56
mov word [eax + 2], bx
mov dword [eax + 4], ecx
mov dword [eax + 8], 1
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
jmp 0x49e6ed
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0x10], 0x403770
je 0x49e6ed
mov ecx, dword [esp + 0xc]
cmp dword [ecx + 0x28], ebx
mov dword [esp + 0x20], ebx
je 0x49e827
mov ecx, dword [esp + 0x10]
mov al, byte [ecx + 0x13]
cmp al, bl
jne 0x49e791
add dword [ecx + 0x2c], 1
mov edi, dword [ecx + 0x2c]
jmp 0x49e7a0
sub al, 1
movzx edx, al
mov byte [ecx + 0x13], al
mov edi, dword [ecx + edx*4 + 0xa0]
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x50]
add ecx, dword [esp + 0x14]
mov edx, dword [ebp + 0xc]
push edi
push ecx
push edx
push 0x5e
push esi
call fcn.0043c3f0
mov ecx, dword [esi + 0x6c]
add esp, 0x14
cmp dword [esi + 0x70], ecx
jg 0x49e7da
push 1
push ebx
push edi
push 0x11
mov eax, esi
call fcn.0043c3b0
add esp, 0x10
mov dword [esp + 0x20], eax
jmp 0x49e807
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
mov eax, dword [esi + 0x68]
lea edx, [ecx + ecx*4]
lea eax, [eax + edx*4]
mov byte [eax], 0x11
mov word [eax + 2], bx
mov dword [eax + 4], edi
mov dword [eax + 8], ebx
mov dword [eax + 0xc], 1
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov dword [esp + 0x20], ecx
cmp edi, ebx
je 0x49e827
mov eax, dword [esp + 0x10]
mov cl, byte [eax + 0x13]
cmp cl, 8
jae 0x49e82b
movzx ecx, cl
mov dword [eax + ecx*4 + 0xa0], edi
add byte [eax + 0x13], 1
jmp 0x49e82b
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
cmp byte [ecx + 0x60], bl
je 0x49e910
mov edx, dword [ecx + 0x48]
mov ecx, dword [edx + 0x14]
mov ecx, dword [ecx]
cmp ecx, 1
mov edi, dword [esi + 0x6c]
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], ecx
jne 0x49e872
mov cl, byte [eax + 0x13]
cmp cl, bl
jne 0x49e860
add dword [eax + 0x2c], 1
mov eax, dword [eax + 0x2c]
jmp 0x49e8a3
sub cl, 1
movzx edx, cl
mov byte [eax + 0x13], cl
mov eax, dword [eax + edx*4 + 0xa0]
jmp 0x49e8a3
mov edx, dword [eax + 0x1c]
cmp ecx, edx
mov edi, dword [eax + 0x20]
mov dword [esp + 0x24], edi
jg 0x49e88c
add edi, ecx
sub edx, ecx
mov dword [eax + 0x20], edi
mov dword [eax + 0x1c], edx
jmp 0x49e89b
mov edx, dword [eax + 0x2c]
lea edi, [edx + 1]
add edx, ecx
mov dword [esp + 0x24], edi
mov dword [eax + 0x2c], edx
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0xc]
push ebx
mov ecx, eax
push ebx
mov dword [esp + 0x20], eax
mov eax, dword [edx + 0x48]
mov eax, dword [eax + 0x14]
push ecx
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00458300
mov eax, dword [esi + 0x6c]
add esp, 0x10
cmp edi, eax
jge 0x49e910
mov edx, dword [ebp + 8]
lea ecx, [edi + edi*4]
add ecx, ecx
add ecx, ecx
sub eax, edi
mov dword [esp + 0x24], eax
lea ebx, [ebx]
mov eax, dword [esi]
cmp byte [eax + 0x57], bl
je 0x49e8ee
mov eax, 0x4d6798
jmp 0x49e8f3
mov eax, dword [esi + 0x68]
add eax, ecx
cmp byte [eax], 0x5e
jne 0x49e906
mov edi, dword [eax + 4]
cmp edi, dword [edx + 0x30]
jne 0x49e906
mov edi, dword [ebp + 0xc]
mov dword [eax + 4], edi
add ecx, 0x14
sub dword [esp + 0x24], 1
jne 0x49e8e0
mov ecx, dword [esp + 0x1c]
test byte [ecx + 4], 0x20
je 0x49e9d2
mov edx, dword [esp + 0xc]
mov eax, dword [edx + 0x48]
mov ecx, dword [eax + 0x14]
mov edx, dword [esp + 0x10]
mov ecx, dword [ecx + 8]
push edx
call fcn.004518f0
mov edi, eax
add esp, 4
cmp edi, ebx
jne 0x49e947
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edi, dword [ecx + 8]
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x49e960
push ebx
push ebx
push ebx
push 0x55
mov eax, esi
call fcn.0043c3b0
add esp, 0x10
jmp 0x49e987
lea edx, [ecx + 1]
mov dword [esi + 0x6c], edx
mov edx, dword [esi + 0x68]
lea eax, [ecx + ecx*4]
lea eax, [edx + eax*4]
mov byte [eax], 0x55
mov word [eax + 2], bx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, ecx
mov ecx, dword [esi]
cmp byte [ecx + 0x57], bl
je 0x49e99c
mov eax, edi
mov edx, 0xfffffffe
call fcn.0043cde0
jmp 0x49e9d2
cmp eax, ebx
jge 0x49e9a6
mov eax, dword [esi + 0x6c]
sub eax, 1
mov ecx, dword [esi + 0x68]
lea eax, [eax + eax*4]
cmp byte [ecx + eax*4 + 1], bl
lea ecx, [ecx + eax*4]
je 0x49e9c7
push edi
mov eax, 0xfffffffe
mov edx, esi
call fcn.0043ced0
add esp, 4
jmp 0x49e9d2
cmp edi, ebx
je 0x49e9d2
mov dword [ecx + 0x10], edi
mov byte [ecx + 1], 0xfe
mov edi, dword [ebp + 0x10]
mov eax, dword [esi + 0x6c]
mov edx, dword [esp + 0xc]
mov edx, dword [edx + 0x34]
mov ecx, edi
neg ecx
sbb ecx, ecx
add ecx, 0xa2
cmp dword [esi + 0x70], eax
jg 0x49ea04
mov eax, dword [esp + 0x18]
push edx
push eax
push edi
push ecx
mov eax, esi
call fcn.0043c3b0
add esp, 0x10
jmp 0x49ea2f
lea edi, [eax + 1]
mov dword [esi + 0x6c], edi
mov edi, dword [esi + 0x68]
lea eax, [eax + eax*4]
lea eax, [edi + eax*4]
mov byte [eax], cl
mov ecx, dword [ebp + 0x10]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x18]
mov word [eax + 2], bx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov ecx, dword [esi]
cmp byte [ecx + 0x57], bl
mov edi, dword [esp + 0x10]
je 0x49ea4a
mov eax, dword [esp + 0x1c]
mov edx, 0xfffffff9
call fcn.0043cde0
jmp 0x49ea62
mov eax, dword [esi + 0x6c]
mov ecx, dword [esp + 0x1c]
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x68]
lea eax, [eax + edx*4 - 0x14]
mov byte [eax + 1], 0xf9
mov dword [eax + 0x10], ecx
mov eax, dword [esi + 0x6c]
cmp eax, ebx
mov ecx, dword [esp + 0x14]
jle 0x49ea80
mov edi, dword [esi + 0x68]
movzx dx, cl
lea eax, [eax + eax*4]
mov word [edi + eax*4 - 0x12], dx
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
cmp byte [edx + 0x60], bl
je 0x49eabc
cmp ecx, 1
jne 0x49eaad
mov ecx, dword [esp + 0x18]
cmp ecx, ebx
je 0x49eabc
mov al, byte [edi + 0x13]
cmp al, 8
jae 0x49eabc
movzx eax, al
mov dword [edi + eax*4 + 0xa0], ecx
add byte [edi + 0x13], 1
jmp 0x49eabc
cmp ecx, dword [edi + 0x1c]
jle 0x49eabc
mov dword [edi + 0x1c], ecx
mov ecx, dword [esp + 0x18]
mov dword [edi + 0x20], ecx
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x49e6ed
mov edx, dword [esi]
cmp byte [edx + 0x57], bl
mov ecx, dword [esi + 0x6c]
je 0x49e6e1
mov eax, 0x4d6798
jmp 0x49e6ea