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

Disassembly:
sub esp, 0x70
push ebx
push ebp
push esi
push edi
xor ebp, ebp
lea eax, [esp + 0x3c]
push 0x44
push ebp
push eax
mov dword [esp + 0x1c], ebp
call fcn.004dc1a0
call fcn.0049f700
mov ebx, dword [esp + 0x94]
push ebx
push dword [esp + 0x9c]
movzx eax, ax
mov dword [esp + 0x2c], eax
call fcn.0049f4f0
add esp, 0x14
mov esi, eax
mov dword [esp + 0x14], esi
cmp dword [esp + 0x98], ebp
je 0x49ed42
push dword [esp + 0x94]
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
push ebp
push dword [esp + 0x94]
call fcn.0049d730
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x49ee23
test ebx, ebx
jne 0x49ec19
push 1
push eax
push 0x3f6
push 1
call fcn.00438910
add esp, 0x10
lea edi, [ebp + 1]
jmp 0x49ee23
call fcn.0049f700
movzx edi, ax
push 0
mov dword [esp + 0x18], edi
call fcn.0049f900
push ebx
push esi
call fcn.0049f4f0
add esp, 0xc
test eax, eax
je 0x49ed1c
push eax
call fcn.0049f770
add esp, 4
test ax, ax
je 0x49ed1c
call fcn.0049f710
mov esi, eax
mov ax, word [esi + 4]
mov word [esp + 0x1c], ax
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], 0x642e83
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
test eax, eax
jne 0x49ec84
call fcn.00461bf0
mov ecx, dword [esp + 0xbc]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ebp
test ecx, ecx
je 0x49ecc1
test dword [ecx], 0xfffbffff
je 0x49ecc1
mov eax, dword [esi]
push ecx
push 6
push esi
mov eax, dword [eax + 0x94]
call eax
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x49ecef
mov eax, dword [esi]
push dword [esp + 0x10]
push esi
mov eax, dword [eax + 0x34]
call eax
mov edi, eax
add esp, 8
test edi, edi
jne 0x49ecef
mov eax, dword [esi]
lea ecx, [esp + 0x1c]
push ecx
push esi
mov eax, dword [eax + 0x90]
call eax
mov edi, eax
add esp, 8
test edi, edi
je 0x49ed0c
call fcn.0049f850
mov ecx, dword [esp + 0x14]
movzx eax, cx
push eax
call fcn.0049f900
add esp, 4
test edi, edi
jne 0x49ee23
call fcn.0049f710
mov ebp, eax
mov dword [esp + 0x40], ebp
jmp 0x49ee23
movzx eax, di
push eax
call fcn.0049f900
push 1
push 0
push 0x3f7
push 1
call fcn.00438910
add esp, 0x14
mov edi, 1
jmp 0x49ee23
push 0
push esi
call fcn.0049d060
add esp, 8
test eax, eax
jne 0x49ed70
push 1
push eax
push 0x3ed
push 1
call fcn.00438910
add esp, 0x10
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret
cmp word [eax + 0x22], 2
jne 0x49ee36
push dword [esp + 0x94]
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
push 0
push dword [esp + 0x94]
call fcn.0049d730
mov edi, eax
add esp, 0x14
mov eax, dword [esp + 0x3c]
xor ebx, ebx
mov dword [esp + 0x40], eax
xor eax, eax
cmp ax, word [esp + 0x7a]
jae 0x49eddb
mov ecx, dword [esp + 0x7c]
movzx esi, bx
inc ebx
mov ax, word [ecx + esi*4 + 2]
movzx edx, word [ecx + esi*4]
mov word [ecx + esi*4], ax
mov eax, dword [esp + 0x7c]
mov word [eax + esi*4 + 2], dx
cmp bx, word [esp + 0x7a]
jb 0x49edb2
mov esi, dword [esp + 0x14]
test edi, edi
jne 0x49ee23
push dword [esp + 0xbc]
push dword [esp + 0x14]
push dword [esp + 0x98]
push dword [esp + 0xc4]
push 1
push 1
push 0x642e83
push edi
push esi
push dword [esp + 0xac]
call fcn.0049e710
mov edi, eax
add esp, 0x28
test edi, edi
jne 0x49ee23
call fcn.0049f710
mov ebp, eax
mov dword [esp + 0x3c], ebp
mov eax, dword [esp + 0x10]
test eax, eax
je 0x49ee92
push eax
call fcn.0045a800
add esp, 4
jmp 0x49ee92
push dword [esp + 0xbc]
push 0
push dword [esp + 0x98]
push dword [esp + 0xc4]
push 1
push 1
push 0x642e83
push 0
push esi
push ebx
call fcn.0049e710
mov edi, eax
add esp, 0x28
test edi, edi
jne 0x49f054
call fcn.0049f710
push dword [esp + 0x94]
mov ebp, eax
lea eax, [esp + 0x40]
push edi
push eax
push dword [esp + 0x90]
push ebp
call fcn.0049d730
add esp, 0x14
mov edi, eax
test edi, edi
jne 0x49f054
mov eax, dword [esp + 0x3c]
movzx eax, word [eax + 4]
push eax
call fcn.0049f900
mov eax, dword [esp + 0xa0]
movaps xmm0, xmmword [0x6e3cb0]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0xb8]
push 0x6e3ec4
push 4
mov dword [esp + 0x68], eax
movups xmmword [esp + 0x6c], xmm0
mov dword [esp + 0x7c], edi
call fcn.00456a80
push eax
lea ecx, [esp + 0x4c]
push edi
mov dword [eax], ecx
call fcn.0045a330
mov ecx, dword [esp + 0x54]
mov ebx, eax
push ebx
push 0x94
push ecx
mov edx, dword [ecx]
mov dword [esp + 0x34], ebx
mov ecx, dword [edx + 0x94]
call ecx
mov edi, eax
add esp, 0x20
test edi, edi
jne 0x49f04b
cmp word [esp + 0x7a], ax
jne 0x49ef52
lea edi, [eax + 1]
jmp 0x49ef6b
mov eax, dword [esp + 0x3c]
lea edx, [esp + 0x3c]
push edx
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 0xbc]
call eax
add esp, 8
mov edi, eax
mov eax, dword [esp + 0x40]
push ebx
push 0x94
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 0x94]
call eax
add esp, 0xc
test edi, edi
jne 0x49f04b
test byte [esp + 0x78], 4
je 0x49f04b
push edi
call fcn.00456eb0
mov esi, eax
add esp, 4
xor eax, eax
cmp ax, word [esp + 0x7a]
jae 0x49f040
nop
mov ecx, dword [esp + 0x7c]
movzx edx, di
movzx eax, word [ecx + edx*4]
lea ebx, [ecx + edx*4]
mov ecx, dword [esp + 0x3c]
push esi
push 0x66
push eax
mov edx, dword [ecx]
push ecx
mov eax, dword [edx + 0x48]
call eax
add esp, 0x10
test eax, eax
jne 0x49f027
mov ecx, dword [esp + 0x40]
movzx eax, word [ebx + 2]
push esi
push 0x66
mov edx, dword [ecx]
push eax
push ecx
mov eax, dword [edx + 0x48]
call eax
add esp, 0x10
test eax, eax
jne 0x49f027
push esi
call fcn.00458840
mov ecx, dword [esp + 0x40]
movzx eax, word [ebx]
push esi
push 0x67
mov edx, dword [ecx]
push eax
push ecx
mov eax, dword [edx + 0x48]
call eax
add esp, 0x14
test eax, eax
jne 0x49f027
mov ecx, dword [esp + 0x40]
movzx eax, word [ebx + 2]
push esi
push 0x67
mov edx, dword [ecx]
push eax
push ecx
mov eax, dword [edx + 0x48]
call eax
add esp, 0x10
push esi
call fcn.00458840
inc edi
add esp, 4
cmp di, word [esp + 0x7a]
jb 0x49efb0
mov ebx, dword [esp + 0x14]
push esi
call fcn.0045a800
add esp, 4
xor edi, edi
push ebx
call fcn.0045a800
add esp, 4
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x49f065
push eax
call fcn.00470430
add esp, 4
test ebp, ebp
je 0x49f07b
movzx eax, word [ebp + 4]
push eax
call fcn.0049f900
add esp, 4
call fcn.0049f850
mov eax, dword [esp + 0x18]
movzx eax, ax
push eax
call fcn.0049f900
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret