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

Disassembly:
sub esp, 0x3e0
mov eax, dword [0x448c50]
xor eax, esp
mov dword [esp + 0x3dc], eax
mov eax, dword [0x44a0d0]
push ebx
push ebp
xor ebp, ebp
cmp eax, ebp
push esi
push edi
jl 0x4a06ab
cmp eax, dword [0x46d338]
jg 0x4a06ab
mov ebx, 1
cmp dword [0x46df3e], ebx
jne 0x49ff56
mov dword [0x46ce88], ebp
mov ecx, 0x46df28
cmp eax, 9
jne 0x49ff09
push 0x53
push 0x442c8c
jmp 0x49ff16
movzx eax, word [0x46ceb8]
push eax
push 0x46ce90
call fcn.004a31e0
mov esi, eax
cmp esi, ebp
je 0x49ff44
mov dword [0x46ce88], ebx
call dword [0x43a24c]
push 0x3e8
mov dword [0x46cf84], eax
call dword [0x43a248]
mov eax, esi
jmp 0x4a06c8
push 0x1388
call dword [0x43a248]
mov eax, esi
jmp 0x4a06c8
push 0x46d218
mov ecx, 0x46d338
call fcn.004a0f40
test eax, eax
je 0x4a0691
mov eax, dword [0x46de58]
mov ecx, dword [0x46de50]
mov edx, dword [0x46de54]
push 0x3c6
mov dword [0x46d328], eax
mov dword [0x46d320], ecx
mov ecx, dword [0x46de5c]
mov dword [0x46d324], edx
mov edx, dword [0x46ddcc]
lea eax, [esp + 0x24]
push ebp
push eax
mov dword [0x46d32c], ecx
mov dword [0x46d298], edx
call 0x4c0a90
mov eax, dword [0x46ce88]
add esp, 0xc
cmp eax, ebx
jne 0x4a008a
xor eax, eax
lea esp, [esp]
movzx ecx, word [eax + 0x46ce8c]
mov word [esp + eax + 0xd2], cx
add eax, 2
cmp cx, bp
jne 0x49ffd0
xor eax, eax
lea esp, [esp]
movzx ecx, word [eax + 0x46ceda]
mov word [esp + eax + 0x112], cx
add eax, 2
cmp cx, bp
jne 0x49fff0
xor eax, eax
lea esp, [esp]
movzx ecx, word [eax + 0x46cebc]
mov word [esp + eax + 0xd6], cx
add eax, 2
cmp cx, bp
jne 0x4a0010
mov ecx, dword [0x442e10]
mov dl, byte [0x442e14]
mov dword [0x45ce88], ecx
mov byte [0x45ce8c], dl
mov ecx, 0xf1
lea esi, [esp + 0x20]
mov edi, 0x45ce8c
rep movsd dword es:[edi], dword [esi]
push ebx
push 0x3ca
push 0x45ce88
mov ecx, 0x46df28
movsw word es:[edi], word [esi]
mov dword [0x44a0d8], 0x3ca
call fcn.004a33d0
mov dword [0x46ce88], 2
call dword [0x43a24c]
mov dword [0x46cf84], eax
jmp 0x4a06c6
cmp eax, 2
jne 0x4a00b5
mov esi, dword [0x43a24c]
call esi
sub eax, dword [0x46cf84]
cmp eax, 0x1388
jbe 0x4a06c6
mov dword [0x46ce88], ebp
call esi
jmp 0x4a06b7
cmp eax, 3
jne 0x4a02ea
mov esi, dword [0x43a24c]
call esi
sub eax, dword [0x46cf84]
cmp eax, 0x3e8
jbe 0x4a06c6
cmp dword [0x44a0d0], 6
mov eax, 0xb4
lea ecx, [eax - 0x32]
jne 0x4a00f2
mov eax, 0x320
mov ecx, 0x32
mov edx, dword [0x46d324]
push ecx
mov ecx, dword [0x46d320]
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [0x46d328]
mov dword [eax + 4], edx
mov edx, dword [0x46d32c]
mov dword [eax + 8], ecx
mov ecx, 0x46d338
mov dword [eax + 0xc], edx
call fcn.004a0fb0
test eax, eax
je 0x4a0238
mov eax, dword [0x44a0d0]
cmp eax, 5
ja 0x4a018e
push 0x442e44
push 0x46de60
call 0x4bf812
add esp, 8
test eax, eax
je 0x4a016b
xor eax, eax
movzx ecx, word [eax + 0x46de60]
mov word [eax + 0x46d2a0], cx
add eax, 2
cmp cx, bp
jne 0x4a0150
jmp 0x4a0256
push 0x442e4c
push 0x46de60
call 0x4bf812
add esp, 8
test eax, eax
je 0x4a0256
mov dword [esp + 0x38], ebx
jmp 0x4a0256
cmp eax, 6
jne 0x4a01bb
xor eax, eax
jmp 0x4a01a0
movzx ecx, word [eax + 0x46de60]
mov word [eax + 0x46d2a0], cx
add eax, 2
cmp cx, bp
jne 0x4a01a0
jmp 0x4a0256
cmp eax, 9
jne 0x4a0256
mov edx, 0x442e58
mov ecx, 0x46de60
mov edi, edi
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x4a01f6
cmp ax, bp
je 0x4a01f2
mov ax, word [ecx + 2]
cmp ax, word [edx + 2]
jne 0x4a01f6
add ecx, 4
add edx, 4
cmp ax, bp
jne 0x4a01d0
xor eax, eax
jmp 0x4a01fb
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebp
jne 0x4a0219
xor eax, eax
movzx ecx, word [eax + 0x46de60]
mov word [eax + 0x46d2a0], cx
add eax, 2
cmp cx, bp
jne 0x4a0201
jmp 0x4a0256
xor eax, eax
jmp 0x4a0220
movzx ecx, word [eax + 0x442e6c]
mov word [eax + 0x46d2a0], cx
add eax, 2
cmp cx, bp
jne 0x4a0220
jmp 0x4a0256
xor eax, eax
lea ebx, [ebx]
movzx ecx, word [eax + 0x442e88]
mov word [eax + 0x46d2a0], cx
add eax, 2
cmp cx, bp
jne 0x4a0240
call esi
mov cl, byte [0x442e90]
mov dword [0x46cf84], eax
mov eax, dword [0x442e8c]
mov dword [0x45ce88], eax
mov byte [0x45ce8c], cl
xor eax, eax
jmp 0x4a0280
movzx ecx, word [eax + 0x46d218]
mov word [esp + eax + 0x3c], cx
add eax, 2
cmp cx, bp
jne 0x4a0280
xor eax, eax
jmp 0x4a02a0
movzx ecx, word [eax + 0x46d2a0]
mov word [esp + eax + 0x78], cx
add eax, 2
cmp cx, bp
jne 0x4a02a0
mov ecx, 0xf1
lea esi, [esp + 0x20]
mov edi, 0x45ce8c
rep movsd dword es:[edi], dword [esi]
push ebx
push 0x3ca
push 0x45ce88
mov ecx, 0x46df28
movsw word es:[edi], word [esi]
mov dword [0x44a0d8], 0x3ca
call fcn.004a33d0
jmp 0x4a06c6
cmp eax, 4
jne 0x4a06c6
call dword [0x43a24c]
mov ecx, eax
mov eax, 0x3e8
cdq
idiv dword [0x46cf74]
sub ecx, dword [0x46cf84]
cmp ecx, eax
jbe 0x4a06c6
mov edx, dword [0x46d328]
mov edi, dword [0x46d32c]
mov esi, dword [0x46d320]
mov ebx, dword [0x46d324]
mov eax, edx
mov ecx, edi
sub eax, esi
sub ecx, ebx
cmp dword [0x44a0d0], 6
mov dword [esp + 0x14], ebp
jne 0x4a035b
push 0
push 0
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edi
jmp 0x4a03e1
cmp dword [0x44a0d0], 5
ja 0x4a03c4
cmp dword [0x46d194], 3
jne 0x4a03c4
mov al, byte [0x442f08]
mov edx, dword [0x442f04]
mov byte [0x45ce8c], al
mov eax, dword [0x46df1c]
mov dword [0x45ce88], edx
test eax, eax
je 0x4a06c6
push 0x44a0d8
call eax
mov eax, dword [0x46df20]
add esp, 4
test eax, eax
je 0x4a06c6
push 0x45ce8c
call eax
mov eax, dword [0x44a0d8]
lea ecx, [eax - 1]
add esp, 4
cmp ecx, 0xfffa
jmp 0x4a0664
mov edx, dword [0x46d298]
mov esi, dword [esp + 0x14]
push 0
push edx
sub esp, 0x10
mov edx, esp
mov dword [edx], ebp
mov dword [edx + 4], esi
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
mov ecx, 0x46defc
call fcn.004a2130
test eax, eax
je 0x4a06c6
mov esi, dword [0x46defc]
test esi, esi
je 0x4a06c6
mov eax, dword [0x44a0d0]
test eax, eax
jne 0x4a0442
push 0xd0
push 0x140
push eax
push 0x10e
push esi
mov ecx, 0x46dee4
call fcn.004a1440
push 0x14
push 0
push 0xbc
push 0x140
push 0x21c
push 0x104
jmp 0x4a060b
cmp eax, 1
jne 0x4a047d
push 0xd0
push 0x140
push 0
push 0x64
push esi
mov ecx, 0x46dee4
call fcn.004a1440
push 0x14
push 0
push 0xbc
push 0x140
push 0x203
push 0xe6
jmp 0x4a060b
cmp eax, 2
je 0x4a05da
cmp eax, 3
je 0x4a05da
mov ecx, 0x46dee4
cmp eax, 4
jne 0x4a04ea
push 0xad
push 0x140
push 6
push 0x10e
push esi
call fcn.004a1440
push 0
push 0xf0
push 0x14
push 0x50
push 6
push 0x2a8
push esi
mov ecx, 0x46dee4
call fcn.004a1670
push 0x14
push 0
push 0x9b
push 0x140
push 0x24e
push 0x14a
jmp 0x4a060b
cmp eax, 5
jne 0x4a0540
push 0xd0
push 0x140
push 0
push 0x69
push esi
call fcn.004a1440
push 0
push 0x8c
push 0x14
push 0xb4
push 0
push 0x1b3
push esi
mov ecx, 0x46dee4
call fcn.004a1670
push 0x14
push 0
push 0xbc
push 0x140
push 0x1ea
push 0xe6
jmp 0x4a060b
cmp eax, 6
jne 0x4a0576
push 0xdc
push 0x190
push 0
push 0x5a
push esi
call fcn.004a1440
push 0x17
push 0
push 0xc5
push 0x190
push 0x226
push 0xfa
jmp 0x4a060b
cmp eax, 9
jne 0x4a05ac
push 0xdc
push 0x172
push 0x1e
push 0x12c
push esi
call fcn.004a1440
push 0x19
push 0
push 0xc3
push 0x172
push 0x203
push 0x14a
jmp 0x4a060b
push 0xc8
push 0x154
push 0
push 0x78
push esi
call fcn.004a1440
push 0x1e
push 0
push 0xaa
push 0x154
push 0x226
push 0x14a
jmp 0x4a060b
push 0xbc
push 0x140
push 0
push 0x6e
push esi
mov ecx, 0x46dee4
call fcn.004a1440
push 0x14
push 0
push 0xa8
push 0x140
push 0x186
push 0x82
push esi
mov ecx, 0x46dee4
call fcn.004a1670
mov eax, dword [0x44300c]
mov cl, byte [0x443010]
mov edx, dword [0x46cf7c]
push 0x44a0d8
push 0x45ce8c
mov dword [0x45ce88], eax
mov eax, dword [0x46dee8]
push edx
mov byte [0x45ce8c], cl
mov ecx, dword [0x46dee4]
push eax
push ecx
call fcn.004abbb0
add esp, 0x14
test eax, eax
jne 0x4a06c6
mov eax, dword [0x44a0d8]
lea edx, [eax - 1]
cmp edx, 0xfffa
ja 0x4a06c6
add eax, 4
push 0
push eax
push 0x45ce88
mov ecx, 0x46df28
mov dword [0x44a0d8], eax
call fcn.004a33d0
test eax, eax
je 0x4a06c6
call dword [0x43a24c]
mov dword [0x46cf84], eax
jmp 0x4a06c6
mov dword [0x46d320], ebp
mov dword [0x46d324], ebp
mov dword [0x46d328], ebp
mov dword [0x46d32c], ebp
jmp 0x4a06c6
mov dword [0x46ce88], ebp
call dword [0x43a24c]
mov ecx, 0x46df28
mov dword [0x46cf84], eax
call fcn.004a3390
xor eax, eax
mov ecx, dword [esp + 0x3ec]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call 0x4bef7a
add esp, 0x3e0
ret