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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xd4
push ebx
mov ebx, dword [0x4bde10]
push esi
push edi
mov esi, eax
mov al, 1
cmp al, byte [ecx + 1]
mov ecx, dword [0x4be7e8]
push 1
push 0
sbb edi, edi
and edi, dword [0x4bde14]
push 0xffffffffffffffff
push 0x49c724
mov dword [esp + 0x90], ebx
mov dword [esp + 0x98], edi
call fcn.0046f110
test ebx, ebx
je 0x43826b
push 1
push 0
push 0xffffffffffffffff
push 0
mov ecx, ebx
call fcn.0046f110
xor ebx, ebx
cmp edi, ebx
je 0x43827e
push 1
push ebx
push 0xffffffffffffffff
push ebx
mov ecx, edi
call fcn.0046f110
mov edx, dword [0x4ba3fc]
xor eax, eax
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
test byte [edx + 0xe8], 1
jne 0x4382cd
lea eax, [esp + 0x70]
push eax
call dword [0x4975ec]
push eax
call dword [0x4975c4]
test eax, eax
je 0x43860d
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
add dword [ebp + 8], eax
add dword [ebp + 0xc], ecx
add dword [ebp + 0x10], eax
add dword [ebp + 0x14], ecx
push 0x2e
push esi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x34], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
call fcn.004883a4
mov edi, eax
add esp, 8
cmp edi, ebx
je 0x438345
add edi, 2
push 0x4a2904
push edi
call fcn.004868e9
add esp, 8
test eax, eax
je 0x43832f
push 0x4a290c
push edi
call fcn.004868e9
add esp, 8
test eax, eax
je 0x43832f
push 0x4a2914
push edi
call fcn.004868e9
add esp, 8
test eax, eax
jne 0x438345
mov edi, dword [0x4974a4]
push 0x31
call edi
push 0x32
mov dword [esp + 0x20], eax
call edi
mov dword [esp + 0x20], eax
mov edi, esi
movzx eax, word [edi]
cmp eax, 0x20
je 0x438354
cmp eax, 9
jne 0x438359
add edi, 2
jmp 0x438347
cmp word [edi], 0x2a
jne 0x4385cc
movzx ecx, word [edi + 2]
add edi, 2
push ecx
call fcn.004887bc
movzx eax, ax
add esp, 4
cmp eax, 0x48
je 0x4384ec
cmp eax, 0x57
je 0x4384bc
push 4
push 0x49d04c
push edi
call fcn.00487122
add esp, 0xc
test eax, eax
jne 0x4383ce
add edi, 8
mov eax, edi
call fcn.0040d620
test al, al
je 0x4383bf
push 0x10
push ebx
push edi
call fcn.00487f0b
add esp, 0xc
mov dword [esp + 0x2c], eax
jmp 0x43855d
push edi
call fcn.00487b76
mov dword [esp + 0x30], eax
jmp 0x43855a
push 5
push 0x4a2118
push edi
call fcn.00487122
add esp, 0xc
test eax, eax
jne 0x43846d
push 0x1f
add edi, 0xa
lea edx, [esp + 0xa4]
push edi
push edx
call fcn.004894f4
xor eax, eax
mov word [esp + 0xea], ax
add esp, 0xc
mov ebx, 0x49c6c0
lea eax, [esp + 0xa0]
call fcn.00409c90
test eax, eax
je 0x438420
xor ecx, ecx
mov word [eax], cx
lea esi, [esp + 0xa0]
call fcn.0046d810
cmp eax, 0xffffffff
jne 0x438449
push 0x10
mov edx, esi
push 0
push edx
call fcn.00487f0b
add esp, 0xc
mov dword [esp + 0x24], eax
jmp 0x43855d
mov ecx, eax
shr ecx, 8
movzx edx, al
movzx ecx, cl
shl edx, 8
shr eax, 0x10
or ecx, edx
movzx eax, al
shl ecx, 8
or ecx, eax
mov dword [esp + 0x24], ecx
jmp 0x43855d
mov eax, edi
call fcn.0040d620
test al, al
je 0x43848a
push 0x10
push ebx
push edi
call fcn.00487f0b
add esp, 0xc
mov dword [esp + 0x10], eax
jmp 0x438497
push edi
call fcn.00487b76
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
jge 0x4384a4
mov dword [esp + 0x10], ebx
jmp 0x43855d
cmp eax, 0xff
jle 0x43855d
mov dword [esp + 0x10], 0xff
jmp 0x43855d
lea ebx, [edi + 2]
mov eax, ebx
call fcn.0040d620
test al, al
je 0x4384e0
push 0x10
push 0
push ebx
call fcn.00487f0b
add esp, 0xc
mov dword [esp + 0x1c], eax
jmp 0x43855d
push ebx
call fcn.00487b76
mov dword [esp + 0x20], eax
jmp 0x43855a
lea esi, [edi + 2]
mov eax, esi
movzx ecx, word [eax]
cmp ecx, 0x20
je 0x4384fe
cmp ecx, 9
jne 0x438503
add eax, 2
jmp 0x4384f1
movzx ecx, word [eax]
test cx, cx
je 0x438550
cmp ecx, 0x2d
je 0x438515
cmp ecx, 0x2b
jne 0x438518
add eax, 2
cmp word [eax], 0x30
jne 0x438550
movzx ecx, word [eax + 2]
cmp ecx, 0x78
je 0x43852c
cmp ecx, 0x58
jne 0x438550
movzx ecx, word [eax + 4]
push ecx
call fcn.00487d19
add esp, 4
test eax, eax
je 0x438550
push 0x10
push 0
push esi
call fcn.00487f0b
add esp, 0xc
mov dword [esp + 0x20], eax
jmp 0x43855d
push esi
call fcn.00487b76
mov dword [esp + 0x24], eax
add esp, 4
xor ebx, ebx
cmp edi, ebx
je 0x43860d
movzx eax, word [edi]
cmp ax, bx
je 0x43860d
movzx edx, ax
mov ecx, 0x49c6c0
mov eax, 0x20
cmp dx, ax
je 0x4385ab
movzx eax, word [ecx + 2]
add ecx, 2
cmp ax, bx
jne 0x438580
movzx eax, word [edi + 2]
add edi, 2
cmp ax, bx
jne 0x438573
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea esi, [edi + 2]
mov edi, esi
movzx eax, word [edi]
cmp eax, 0x20
je 0x4385bd
cmp eax, 9
jne 0x4385c2
add edi, 2
jmp 0x4385b0
cmp word [edi], 0x2a
je 0x438363
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
push ebx
push edx
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x40]
push eax
push ecx
push edx
push esi
call fcn.0046dc60
mov edi, eax
add esp, 0x18
mov dword [esp + 0x60], edi
cmp edi, ebx
je 0x43860d
push 0
call dword [0x497468]
mov ebx, eax
mov dword [esp + 0x4c], ebx
test ebx, ebx
jne 0x43861b
push edi
call dword [0x4970f0]
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov esi, dword [0x4970f0]
xor eax, eax
cmp dword [esp + 0x38], 1
mov dword [esp + 0x64], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x68], eax
mov byte [esp + 0xd], al
jne 0x4386a7
lea eax, [esp + 0x8c]
push eax
push edi
call dword [0x497448]
test eax, eax
je 0x438690
push 1
lea ecx, [esp + 0x12]
push ecx
mov ecx, dword [esp + 0xa0]
lea edx, [esp + 0x50]
push edx
lea eax, [esp + 0x48]
push eax
push ecx
mov eax, ebx
call fcn.00437920
mov edx, dword [esp + 0xb0]
add esp, 0x14
push edx
mov dword [esp + 0x34], eax
call esi
mov eax, dword [esp + 0x98]
push eax
call esi
push edi
call fcn.0046e3f0
mov edi, eax
add esp, 4
mov dword [esp + 0x60], edi
test edi, edi
je 0x43860d
push 8
lea ecx, [esp + 0x12]
push ecx
lea edx, [esp + 0x50]
push edx
lea eax, [esp + 0x48]
push eax
push edi
mov eax, ebx
call fcn.00437920
add esp, 0x14
mov dword [esp + 0x34], eax
test eax, eax
je 0x438907
mov edi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x14]
mov ecx, dword [esp + 0x4c]
sub edi, dword [ebp + 8]
sub ebx, dword [ebp + 0xc]
push ecx
inc edi
inc ebx
call dword [0x4970b4]
mov esi, eax
mov dword [esp + 0x64], esi
test esi, esi
je 0x438907
mov edx, dword [esp + 0x4c]
push ebx
push edi
push edx
call dword [0x4970a8]
mov dword [esp + 0x2c], eax
test eax, eax
je 0x438907
push eax
push esi
call dword [0x4970d8]
mov dword [esp + 0x68], eax
test eax, eax
je 0x438907
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov eax, dword [esp + 0x4c]
push 0xcc0020
push ecx
push edx
push eax
push ebx
push edi
push 0
push 0
push esi
call dword [0x4970a4]
test eax, eax
je 0x438907
push 8
lea ecx, [esp + 0x13]
push ecx
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x60]
push edx
lea eax, [esp + 0x34]
push eax
push ecx
mov eax, esi
call fcn.00437920
mov edi, eax
add esp, 0x14
mov dword [esp + 0x20], edi
test edi, edi
je 0x438907
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x28]
imul ecx, dword [esp + 0x48]
imul edx, dword [esp + 0x58]
cmp byte [esp + 0xe], 0
mov dword [esp + 0x44], ecx
mov dword [esp + 0x50], edx
jne 0x4387a0
cmp byte [esp + 0xf], 0
je 0x4387de
cmp dword [esp + 0x24], 0xffffffff
je 0x4387af
and dword [esp + 0x24], 0xf8f8f8
xor eax, eax
test edx, edx
jle 0x4387c1
and dword [edi + eax*4], 0xf8f8f8
inc eax
cmp eax, edx
jl 0x4387b5
mov esi, dword [esp + 0x34]
xor eax, eax
test ecx, ecx
jle 0x4387f9
jmp 0x4387d0
and dword [esi + eax*4], 0xf8f8f8
inc eax
cmp eax, ecx
jl 0x4387d0
jmp 0x4387e2
mov esi, dword [esp + 0x34]
test ecx, ecx
jle 0x4387f9
lea eax, [esi + 3]
lea esp, [esp]
mov byte [eax], 0
add eax, 4
dec ecx
jne 0x4387f0
mov ebx, dword [esp + 0x10]
cmp ebx, 1
jge 0x438a19
test edx, edx
jle 0x438819
lea eax, [edi + 3]
mov ecx, edx
nop
mov byte [eax], 0
add eax, 4
dec ecx
jne 0x438810
xor edi, edi
mov dword [esp + 0x18], edi
test edx, edx
jle 0x438c03
mov ebx, dword [esi]
mov dword [esp + 0x38], ebx
lea ecx, [ecx]
mov edx, dword [esp + 0x20]
lea esi, [edi*4]
cmp dword [esi + edx], ebx
je 0x438857
mov eax, dword [esp + 0x30]
test eax, eax
je 0x43884d
cmp dword [eax], 0
jne 0x438857
cmp ebx, dword [esp + 0x24]
jne 0x438a05
mov ecx, dword [esp + 0x28]
mov eax, edi
cdq
idiv ecx
mov edi, dword [esp + 0x58]
sub edi, eax
cmp dword [esp + 0x48], edi
jg 0x438a01
sub ecx, edx
cmp dword [esp + 0x3c], ecx
jg 0x438a01
mov edi, dword [esp + 0x18]
xor ebx, ebx
mov byte [esp + 0xd], 1
mov dword [esp + 0x1c], ebx
cmp dword [esp + 0x44], ebx
jle 0x43890b
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
sub edx, eax
mov byte [esp + 0xd], 1
mov ecx, edi
mov dword [esp + 0x40], esi
mov dword [esp + 0x54], edx
mov edi, edi
mov edx, dword [eax]
mov esi, dword [esp + 0x20]
cmp dword [esi + edi*4], edx
je 0x4388d6
cmp dword [esp + 0x30], 0
je 0x4388cc
mov esi, dword [esp + 0x54]
cmp dword [esi + eax], 0
jne 0x4388d6
cmp edx, dword [esp + 0x24]
jne 0x4389f8
inc ebx
cmp ebx, dword [esp + 0x3c]
jge 0x4388e0
inc edi
jmp 0x4388f5
mov edx, dword [esp + 0x28]
lea esi, [edx*4]
add dword [esp + 0x40], esi
xor ebx, ebx
add ecx, edx
mov edi, ecx
mov edx, dword [esp + 0x1c]
inc edx
add eax, 4
mov dword [esp + 0x1c], edx
cmp edx, dword [esp + 0x44]
jl 0x4388b0
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x4c]
push edx
push 0
call dword [0x497464]
mov eax, dword [esp + 0x60]
mov ebx, dword [0x4970f0]
push eax
call ebx
mov esi, dword [esp + 0x64]
test esi, esi
je 0x438944
mov eax, dword [esp + 0x68]
test eax, eax
je 0x43893d
push eax
push esi
call dword [0x4970d8]
push esi
call dword [0x4970c8]
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x43894f
push eax
call ebx
mov eax, dword [esp + 0x34]
test eax, eax
je 0x438960
push eax
call fcn.00487f3f
add esp, 4
mov eax, dword [esp + 0x30]
test eax, eax
je 0x438971
push eax
call fcn.00487f3f
add esp, 4
mov eax, dword [esp + 0x20]
test eax, eax
je 0x438982
push eax
call fcn.00487f3f
add esp, 4
cmp byte [esp + 0xd], 0
je 0x43860d
mov ecx, dword [esp + 0x80]
test ecx, ecx
je 0x4389b4
mov eax, edi
cdq
idiv dword [esp + 0x28]
push 0x18
mov eax, edx
sub eax, dword [esp + 0x74]
add eax, dword [ebp + 8]
cdq
push edx
push eax
mov eax, ecx
call fcn.00401ce0
mov ecx, dword [esp + 0x88]
test ecx, ecx
je 0x4389d9
mov eax, edi
cdq
idiv dword [esp + 0x28]
push 0x18
sub eax, dword [esp + 0x78]
add eax, dword [ebp + 0xc]
cdq
push edx
push eax
mov eax, ecx
call fcn.00401ce0
mov ecx, dword [0x4be7e8]
push 1
push 0
push 0xffffffffffffffff
push 0x4998b0
call fcn.0046f110
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ebx, dword [esp + 0x38]
mov byte [esp + 0xd], 0
mov edi, dword [esp + 0x18]
inc edi
mov dword [esp + 0x18], edi
cmp edi, dword [esp + 0x50]
jl 0x438830
jmp 0x438c03
xor edi, edi
mov dword [esp + 0x18], edi
test edx, edx
jle 0x438c03
mov eax, edi
cdq
idiv dword [esp + 0x28]
mov ecx, dword [esp + 0x58]
sub ecx, eax
cmp dword [esp + 0x48], ecx
jg 0x438bf4
mov eax, dword [esp + 0x28]
sub eax, edx
cmp dword [esp + 0x3c], eax
jg 0x438bf4
xor eax, eax
mov byte [esp + 0xd], 1
mov dword [esp + 0x5c], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x40], edi
cmp dword [esp + 0x44], eax
jle 0x43890b
mov eax, dword [esp + 0x30]
lea ecx, [edi*4]
sub eax, esi
mov byte [esp + 0xd], 1
mov dword [esp + 0x38], edi
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x54], eax
lea esp, [esp]
movzx eax, byte [esi + 2]
mov dl, byte [esi + 1]
cmp ebx, eax
jle 0x438aa2
mov byte [esp + 0xe], 0
jmp 0x438aaa
mov cl, al
sub cl, bl
mov byte [esp + 0xe], cl
movzx edx, dl
mov dword [esp + 0x84], edx
cmp ebx, edx
jle 0x438abf
mov byte [esp + 0x16], 0
jmp 0x438acd
mov ebx, dword [esp + 0x10]
mov cl, dl
sub cl, byte [esp + 0x10]
mov byte [esp + 0x16], cl
movzx ecx, byte [esi]
cmp ebx, ecx
jle 0x438adb
mov byte [esp + 0x14], 0
jmp 0x438aec
mov dl, cl
sub dl, byte [esp + 0x10]
mov byte [esp + 0x14], dl
mov edx, dword [esp + 0x84]
mov ebx, dword [esp + 0x10]
mov edi, 0xff
sub edi, eax
cmp ebx, edi
jle 0x438b06
mov eax, 0xff
mov byte [esp + 0x17], al
jmp 0x438b11
add al, bl
mov byte [esp + 0x17], al
mov eax, 0xff
mov edi, eax
sub edi, edx
cmp ebx, edi
jle 0x438b1f
mov byte [esp + 0x15], al
jmp 0x438b25
add dl, bl
mov byte [esp + 0x15], dl
mov edx, eax
sub edx, ecx
cmp ebx, edx
jle 0x438b33
mov byte [esp + 0xf], al
jmp 0x438b39
add cl, bl
mov byte [esp + 0xf], cl
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x40]
mov cl, byte [eax + edi*4 + 2]
mov dl, byte [eax + edi*4 + 1]
mov al, byte [eax + edi*4]
cmp cl, byte [esp + 0xe]
jb 0x438b70
cmp cl, byte [esp + 0x17]
ja 0x438b70
cmp dl, byte [esp + 0x16]
jb 0x438b70
cmp dl, byte [esp + 0x15]
ja 0x438b70
cmp al, byte [esp + 0x14]
jb 0x438b70
cmp al, byte [esp + 0xf]
jbe 0x438b89
cmp dword [esp + 0x30], 0
je 0x438b81
mov eax, dword [esp + 0x54]
cmp dword [esi + eax], 0
jne 0x438b89
mov ecx, dword [esp + 0x24]
cmp dword [esi], ecx
jne 0x438be3
mov eax, dword [esp + 0x5c]
inc eax
mov dword [esp + 0x5c], eax
cmp eax, dword [esp + 0x3c]
jge 0x438b9f
inc edi
mov dword [esp + 0x40], edi
jmp 0x438bc4
mov eax, dword [esp + 0x28]
lea ecx, [eax*4]
add dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x38]
add ecx, eax
mov dword [esp + 0x5c], 0
mov dword [esp + 0x38], ecx
mov dword [esp + 0x40], ecx
mov eax, dword [esp + 0x1c]
inc eax
add esi, 4
mov dword [esp + 0x1c], eax
cmp eax, dword [esp + 0x44]
jge 0x438907
mov ebx, dword [esp + 0x10]
jmp 0x438a90
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x34]
mov byte [esp + 0xd], 0
inc edi
mov dword [esp + 0x18], edi
cmp edi, dword [esp + 0x50]
jl 0x438a27
mov ecx, dword [0x4be7e8]
push 1
push 0
push 0xffffffffffffffff
push 0x49c2fc
call fcn.0046f110
jmp 0x43890b