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

Disassembly:
sub esp, 0x110
mov eax, dword [0x4e6734]
xor eax, esp
mov dword [esp + 0x10c], eax
push ebx
mov ebx, dword [esp + 0x118]
push esi
push edi
xor esi, esi
xor eax, eax
push 0x40
mov dword [esp + 0x114], eax
mov byte [esp + 0x118], al
lea eax, [esp + 0xa8]
mov edi, ecx
push esi
push eax
mov dword [esp + 0x50], ebx
mov dword [esp + 0x78], edi
mov dword [esp + 0x24], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x7c], esi
call fcn.004acf20
mov ecx, dword [ebx + 0x34]
add esp, 0xc
mov dword [esp + 0x30], ecx
cmp edi, esi
jne 0x4376e7
pop edi
lea eax, [esi + 7]
pop esi
pop ebx
mov ecx, dword [esp + 0x10c]
xor ecx, esp
call fcn.004ac66d
add esp, 0x110
ret
movzx ecx, word [ebx + 0x18]
movzx eax, byte [ebx + 0xc]
lea edi, [eax + ecx]
cmp edi, 2
push ebp
jge 0x4376fc
xor ebp, ebp
jmp 0x437729
mov ebp, dword [esp + 0x128]
cmp ebp, esi
jne 0x43770b
xor ebp, ebp
jmp 0x43771d
cmp ebp, edi
jne 0x43771c
mov edx, dword [esp + 0x130]
lea ebp, [edi + edx - 2]
jmp 0x43771d
dec ebp
mov edi, 2
sub edi, dword [esp + 0x130]
lea edx, [edi + 1]
mov dword [esp + 0x3c], edx
mov edx, ebp
sub edx, eax
lea eax, [edx + edi]
mov dword [esp + 0x44], ebp
cmp eax, ecx
jne 0x43774c
movzx eax, byte [ebx + 9]
mov ecx, dword [ebx + 0x38]
lea eax, [eax + ecx + 8]
jmp 0x437763
mov edx, dword [ebx + 0x40]
mov ax, word [edx + eax*2]
movzx edx, word [ebx + 0x1a]
mov ch, al
mov cl, ah
movzx eax, cx
and eax, edx
add eax, dword [ebx + 0x38]
mov dword [esp + 0x4c], eax
call fcn.0040b5e0
add ebp, edi
mov dword [esp + 0x28], eax
mov dword [esp + 0x40], ebp
test esi, esi
jne 0x4378cc
mov eax, dword [esp + 0x34]
push esi
push esi
lea ebp, [esp + edi*4 + 0x58]
push ebp
push eax
mov eax, dword [esp + 0x38]
call fcn.00434de0
mov esi, eax
add esp, 0x10
mov dword [esp + 0x14], esi
test esi, esi
jne 0x4378cc
mov ebp, dword [ebp]
cmp dword [ebp + 0x14], eax
jge 0x4377c3
push ebp
call fcn.00434a50
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
test esi, esi
jne 0x4378e8
movzx ecx, word [ebp + 0x18]
mov edx, dword [esp + 0x1c]
dec dword [esp + 0x40]
lea eax, [edx + ecx + 4]
mov ecx, edi
dec edi
mov dword [esp + 0x1c], eax
test ecx, ecx
je 0x437904
mov al, byte [ebx + 0xc]
test al, al
je 0x437822
movzx edx, word [ebx + 0x1c]
cmp dword [esp + 0x40], edx
jne 0x437822
mov ecx, dword [ebx + 0x24]
mov eax, ecx
mov dword [esp + edi*4 + 0xa0], ecx
call fcn.0040b5e0
push ecx
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 0x4c]
push ebx
call eax
movzx ecx, ax
add esp, 8
mov dword [esp + edi*4 + 0x5c], ecx
mov byte [ebx + 0xc], 0
jmp 0x437776
mov ecx, dword [ebx + 0x40]
movzx edx, al
mov eax, dword [esp + 0x44]
sub eax, edx
add eax, edi
mov dx, word [ecx + eax*2]
mov ah, dl
mov al, dh
movzx edx, word [ebx + 0x1a]
movzx ecx, ax
mov eax, dword [ebx + 0x38]
and ecx, edx
add ecx, eax
mov eax, ecx
mov dword [esp + edi*4 + 0xa0], ecx
call fcn.0040b5e0
push ecx
mov ecx, dword [ebx + 0x4c]
push ebx
mov dword [esp + 0x30], eax
call ecx
mov edx, dword [esp + 0x3c]
movzx ebp, ax
add esp, 8
test byte [edx + 0x18], 0xc
mov dword [esp + edi*4 + 0x5c], ebp
je 0x4378a6
mov esi, dword [esp + edi*4 + 0xa0]
mov eax, esi
sub eax, dword [ebx + 0x38]
lea ecx, [eax + ebp]
cmp ecx, dword [edx + 0x28]
jg 0x4378a6
mov ecx, dword [esp + 0x70]
push ebp
add ecx, eax
push esi
push ecx
call fcn.004ad640
sub esi, dword [ebx + 0x38]
add esp, 0xc
add esi, dword [esp + 0x70]
mov dword [esp + edi*4 + 0xa0], esi
movzx eax, byte [ebx + 0xc]
mov ecx, dword [esp + 0x44]
lea edx, [esp + 0x14]
push edx
sub ecx, eax
add ecx, edi
push ebp
push ecx
mov esi, ebx
call fcn.00436780
mov esi, dword [esp + 0x20]
add esp, 0xc
jmp 0x437776
lea edx, [edi*4 + 4]
push edx
lea eax, [esp + 0x54]
push 0
push eax
call fcn.004acf20
add esp, 0xc
jmp 0x438603
lea ecx, [edi*4]
push ecx
lea edx, [esp + 0x54]
push 0
push edx
call fcn.004acf20
add esp, 0xc
jmp 0x438603
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx + 0x24]
add edi, 3
and edi, 0xfffffffc
lea eax, [edi + edi*2]
lea eax, [edx + eax*2]
cdq
push edx
push eax
xor ecx, ecx
call fcn.00420d00
add esp, 8
mov dword [esp + 0xb0], eax
test eax, eax
jne 0x437940
mov dword [esp + 0x14], 7
jmp 0x438603
mov ebx, dword [esp + 0xa8]
lea eax, [eax + edi*4]
mov dword [esp + 0xb4], eax
lea eax, [eax + edi*2]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x50]
movzx cx, byte [eax + 8]
add cx, cx
add cx, cx
cmp dword [esp + 0x3c], 0
mov dword [esp + 0xac], eax
movzx eax, byte [eax + 2]
movzx edx, cx
mov dword [esp + 0x40], edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x10], 0
jle 0x437b63
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + ecx*4 + 0x50]
movzx edx, word [edi + 0x18]
movzx eax, word [edi + 0x1a]
mov ebp, dword [edi + 0x38]
movzx esi, word [edi + 0x12]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x1c], edx
mov edx, dword [ecx + 0x38]
mov dword [esp + 0x20], eax
mov al, byte [ebp]
add esi, ebp
cmp al, byte [edx]
jne 0x437cfa
movzx ecx, byte [edi + 0xc]
add ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0xb4]
add ecx, ecx
push ecx
lea eax, [edx + ebx*2]
push 0
push eax
call fcn.004acf20
add esp, 0xc
cmp byte [edi + 0xc], 0
jbe 0x437a5a
movzx eax, word [edi + 0x1c]
cmp dword [esp + 0x1c], eax
jl 0x437d14
test eax, eax
jle 0x437a2a
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0xb0]
mov cx, word [esi]
mov dh, cl
add esi, 2
inc ebx
mov dl, ch
movzx ecx, word [esp + 0x20]
movzx edx, dx
and edx, ecx
add edx, ebp
sub dword [esp + 0x1c], 1
mov dword [eax + ebx*4 - 4], edx
jne 0x437a06
jmp 0x437a31
mov eax, dword [esp + 0xb0]
xor ecx, ecx
cmp byte [edi + 0xc], cl
jbe 0x437a61
lea edx, [edi + 0x24]
mov dword [esp + 0x1c], edx
nop
mov edx, dword [esp + 0x1c]
mov edx, dword [edx]
add dword [esp + 0x1c], 4
mov dword [eax + ebx*4], edx
movzx edx, byte [edi + 0xc]
inc ecx
inc ebx
cmp ecx, edx
jl 0x437a40
jmp 0x437a61
mov eax, dword [esp + 0xb0]
movzx edx, word [edi + 0x12]
movzx ecx, word [edi + 0x18]
add edx, ebp
lea ecx, [edx + ecx*2]
mov dword [esp + 0x1c], ecx
cmp esi, ecx
jae 0x437a9e
movzx ecx, word [esp + 0x20]
mov dword [esp + 0x30], ecx
nop
mov dx, word [esi]
mov ch, dl
add esi, 2
inc ebx
mov cl, dh
movzx edx, cx
and edx, dword [esp + 0x30]
add edx, ebp
mov dword [eax + ebx*4 - 4], edx
cmp esi, dword [esp + 0x1c]
jb 0x437a80
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x10]
dec ecx
cmp eax, ecx
mov dword [esp + eax*4 + 0xe8], ebx
jge 0x437b4d
cmp dword [esp + 0x38], 0
jne 0x437b4d
mov esi, dword [esp + 0xb4]
mov ebp, dword [esp + 0x24]
mov edx, dword [esp + 0x18]
mov ecx, eax
movzx eax, word [esp + ecx*4 + 0x5c]
mov word [esi + ebx*2], ax
movzx eax, ax
add edx, ebp
push eax
add ebp, eax
mov eax, dword [esp + ecx*4 + 0xa4]
push eax
push edx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x30], ebp
call fcn.004ad640
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0xbc]
movzx edx, ax
add edx, dword [esp + 0x3c]
add esp, 0xc
mov dword [ecx + ebx*4], edx
sub word [esi + ebx*2], ax
cmp byte [edi + 8], 0
jne 0x437b28
mov eax, dword [edi + 0x38]
mov ecx, dword [ecx + ebx*4]
mov edx, dword [eax + 8]
mov dword [ecx], edx
jmp 0x437b48
cmp word [esi + ebx*2], 4
jae 0x437b48
nop
mov eax, dword [esp + 0x18]
mov byte [eax + ebp], 0
inc word [esi + ebx*2]
inc ebp
cmp word [esi + ebx*2], 4
jb 0x437b30
mov dword [esp + 0x24], ebp
mov eax, dword [esp + 0x10]
inc ebx
inc eax
cmp eax, dword [esp + 0x3c]
mov dword [esp + 0x10], eax
jl 0x437990
mov dword [esp + 0xa8], ebx
mov ecx, dword [esp + 0x34]
movzx eax, word [esp + 0x40]
mov edx, dword [ecx + 0x28]
mov edi, dword [esp + 0x3c]
lea eax, [edx + eax - 0xc]
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], edx
test edi, edi
jle 0x437c4e
nop
mov esi, dword [esp + edx*4 + 0x50]
mov eax, dword [esi + 0x3c]
mov dword [esp + ecx*4 + 0xb8], eax
mov eax, dword [esp + edx*4 + 0xe8]
mov dword [esp + ecx*4 + 0xd0], eax
test ecx, ecx
je 0x437bbe
cmp eax, dword [esp + ecx*4 + 0xcc]
jne 0x437bbe
dec ecx
mov dword [esp + 0x18], ecx
cmp dword [esp + 0x38], 0
jne 0x437be0
mov ebx, dword [esp + 0x48]
mov ebx, dword [ebx + 0x3c]
inc ecx
inc eax
mov dword [esp + ecx*4 + 0xb8], ebx
mov dword [esp + 0x18], ecx
mov dword [esp + ecx*4 + 0xd0], eax
mov eax, dword [esp + 0x1c]
sub eax, dword [esi + 0x14]
xor ebp, ebp
cmp byte [esi + 0xc], 0
mov dword [esp + edx*4 + 0x5c], eax
jbe 0x437c27
mov ebx, eax
lea edi, [esi + 0x24]
mov ecx, dword [edi]
mov edx, dword [esi + 0x4c]
push ecx
push esi
call edx
movzx ecx, byte [esi + 0xc]
movzx eax, ax
inc ebp
add esp, 8
add edi, 4
cmp ebp, ecx
lea ebx, [ebx + eax + 2]
jl 0x437bf8
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x18]
mov dword [esp + edx*4 + 0x5c], ebx
mov eax, dword [esp + edx*4 + 0xe8]
mov dword [esp + edx*4 + 0x8c], eax
inc edx
inc ecx
cmp edx, edi
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], ecx
jl 0x437b90
mov ebx, dword [esp + 0xa8]
xor ebp, ebp
cmp edi, ebp
mov dword [esp + 0x18], edi
mov dword [esp + 0x10], ebp
jle 0x437e0b
lea eax, [esp + 0x8c]
sub eax, 4
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], eax
jmp 0x437c80
mov eax, dword [esp + ebp + 0x5c]
cmp eax, dword [esp + 0x1c]
jle 0x437d49
mov edi, edi
mov eax, dword [esp + 0x20]
cmp eax, dword [esp + 0x18]
jl 0x437cb7
inc eax
cmp eax, 5
mov dword [esp + 0x18], eax
jg 0x437ee5
mov dword [esp + ebp + 0x60], 0
mov dword [esp + ebp + 0x90], ebx
mov esi, dword [esp + ebp + 0x8c]
lea edi, [esi - 1]
mov eax, edi
lea ecx, [esp + 0xa8]
call fcn.00410360
movzx eax, ax
add eax, 2
sub dword [esp + ebp + 0x5c], eax
cmp dword [esp + 0x38], 0
jne 0x437d30
cmp esi, ebx
jge 0x437d2e
mov eax, esi
lea ecx, [esp + 0xa8]
call fcn.00410360
movzx eax, ax
add eax, 2
jmp 0x437d30
mov eax, 0x12c8b
mov dword [esp + 0xa8], ebx
call fcn.00431150
mov dword [esp + 0x14], eax
jmp 0x438603
mov eax, 0x12ca3
mov dword [esp + 0xa8], ebx
call fcn.00431150
mov dword [esp + 0x14], eax
jmp 0x438603
xor eax, eax
mov ecx, dword [esp + 0x1c]
add dword [esp + ebp + 0x60], eax
cmp dword [esp + ebp + 0x5c], ecx
mov dword [esp + ebp + 0x8c], edi
jg 0x437c90
cmp dword [esp + ebp + 0x8c], ebx
jge 0x437dc2
mov edi, dword [esp + 0x1c]
lea ebx, [ebx]
mov esi, dword [esp + ebp + 0x8c]
mov eax, esi
lea ecx, [esp + 0xa8]
call fcn.00410360
mov edx, dword [esp + ebp + 0x5c]
movzx ecx, ax
add ecx, 2
lea eax, [edx + ecx]
cmp eax, edi
jg 0x437dc2
cmp dword [esp + 0x38], 0
mov dword [esp + ebp + 0x5c], eax
lea eax, [esi + 1]
mov dword [esp + ebp + 0x8c], eax
jne 0x437db5
cmp eax, ebx
jge 0x437db3
lea ecx, [esp + 0xa8]
call fcn.00410360
movzx ecx, ax
add ecx, 2
jmp 0x437db5
xor ecx, ecx
sub dword [esp + ebp + 0x60], ecx
cmp dword [esp + ebp + 0x8c], ebx
jl 0x437d60
mov ecx, dword [esp + ebp + 0x8c]
cmp ecx, ebx
jl 0x437dd7
mov eax, dword [esp + 0x20]
mov dword [esp + 0x18], eax
jmp 0x437df1
cmp dword [esp + 0x10], 0
jle 0x437de7
mov edx, dword [esp + 0x24]
mov eax, dword [edx + ebp]
jmp 0x437de9
xor eax, eax
cmp ecx, eax
jle 0x437ef8
mov eax, dword [esp + 0x10]
inc dword [esp + 0x20]
inc eax
add ebp, 4
cmp eax, dword [esp + 0x18]
mov dword [esp + 0x10], eax
jl 0x437c80
mov ebp, dword [esp + 0x18]
dec ebp
test ebp, ebp
jle 0x437f2a
jmp 0x437e20
mov eax, dword [esp + ebp*4 + 0x58]
mov edi, dword [esp + ebp*4 + 0x5c]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x8c]
mov esi, dword [eax + ebp*4 - 4]
sub eax, 4
dec esi
mov ebx, esi
sub ebx, dword [esp + 0x38]
mov dword [esp + 0x24], eax
inc ebx
mov eax, ebx
lea ecx, [esp + 0xa8]
call fcn.00410360
mov ecx, dword [esp + 0xb4]
lea ebx, [ecx + ebx*2]
mov dword [esp + 0x10], ebx
mov eax, esi
lea ecx, [esp + 0xa8]
call fcn.00410360
movzx ecx, word [ebx]
movzx eax, ax
test edi, edi
je 0x437ea4
cmp dword [esp + 0x130], 0
jne 0x437eca
mov edx, dword [esp + 0x18]
dec edx
mov ebx, ebp
sub ebx, edx
mov edx, dword [esp + 0x20]
neg ebx
sbb ebx, ebx
and ebx, 2
sub edx, ebx
sub edx, eax
lea ebx, [ecx + edi + 2]
cmp ebx, edx
jg 0x437eca
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x10]
lea edi, [edi + ecx + 2]
mov ecx, 0xfffffffe
sub ecx, eax
add dword [esp + 0x20], ecx
mov dword [edx + ebp*4], esi
dec esi
sub ebx, 2
mov dword [esp + 0x10], ebx
test esi, esi
jge 0x437e62
cmp ebp, 1
mov eax, dword [esp + 0x20]
mov dword [esp + ebp*4 + 0x5c], edi
mov dword [esp + ebp*4 + 0x58], eax
jle 0x437f0b
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + ebp*4 - 4]
jmp 0x437f0d
mov eax, 0x12d08
call fcn.00431150
mov dword [esp + 0x14], eax
jmp 0x438603
mov eax, 0x12d29
call fcn.00431150
mov dword [esp + 0x14], eax
jmp 0x438603
xor eax, eax
mov edx, dword [esp + 0x24]
cmp dword [edx + ebp*4], eax
jle 0x437fb4
dec ebp
test ebp, ebp
jg 0x437e20
mov ebx, dword [esp + 0xa8]
mov eax, dword [esp + 0x50]
mov ecx, dword [eax + 0x38]
movzx edx, byte [ecx]
xor esi, esi
cmp dword [esp + 0x18], esi
mov dword [esp + 0x30], edx
jle 0x43805a
cmp esi, dword [esp + 0x3c]
jge 0x437fc7
mov eax, dword [esp + esi*4 + 0x50]
mov edi, eax
mov dword [esp + esi*4 + 0x78], eax
mov eax, dword [edi + 0x48]
mov dword [esp + 0x24], edi
mov dword [esp + esi*4 + 0x50], 0
call fcn.00421920
mov ecx, dword [edi + 0x48]
inc dword [esp + 0x2c]
mov ebp, eax
mov dword [esp + 0x14], ebp
call fcn.0040e820
mov ecx, dword [esp + 0x128]
sub ecx, dword [esp + 0x44]
xor edx, edx
cmp esi, ecx
sete dl
inc edx
cmp eax, edx
je 0x437fad
test ebp, ebp
jne 0x438603
mov eax, 0x12d76
call fcn.00431150
mov ebp, eax
mov dword [esp + 0x14], ebp
test ebp, ebp
jmp 0x438049
mov eax, 0x12d55
call fcn.00431150
mov dword [esp + 0x14], eax
jmp 0x438603
cmp dword [esp + 0x130], 0
mov eax, 1
jne 0x437fda
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x34]
push 0
push eax
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x30]
push ecx
push edx
call fcn.00435b20
add esp, 0x14
mov dword [esp + 0x14], eax
test eax, eax
jne 0x438603
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x24]
push eax
call fcn.00434d10
mov ecx, dword [esp + 0x38]
inc dword [esp + 0x30]
add esp, 4
cmp byte [ecx + 0x11], 0
mov dword [esp + esi*4 + 0x78], edi
mov dword [esp + esi*4 + 0xe8], ebx
je 0x43804f
mov eax, dword [esp + 0x48]
lea edx, [esp + 0x14]
push edx
mov edx, dword [eax + 4]
mov eax, dword [edi + 4]
push edx
push 5
call fcn.00434070
add esp, 0xc
cmp dword [esp + 0x14], 0
jne 0x438603
inc esi
cmp esi, dword [esp + 0x18]
jl 0x437f44
mov edi, dword [esp + 0x2c]
xor eax, eax
test edi, edi
jle 0x438083
jmp 0x438070
mov ecx, dword [esp + eax*4 + 0x78]
mov edx, dword [ecx + 4]
mov dword [esp + eax*4 + 0xfc], edx
inc eax
cmp eax, edi
jl 0x438070
xor edx, edx
lea eax, [edi - 1]
mov dword [esp + 0x10], edx
test eax, eax
jle 0x43816e
lea eax, [edx + 1]
cmp eax, edi
mov dword [esp + 0x20], eax
jge 0x43815d
lea esi, [edx*4]
mov dword [esp + 0x28], esi
mov edi, edi
mov ebp, dword [esp + esi + 0x78]
lea ecx, [eax*4]
mov edi, dword [esp + ecx + 0x78]
mov edi, dword [edi + 4]
cmp edi, dword [ebp + 4]
jae 0x4380cb
mov edx, eax
mov esi, ecx
mov edi, dword [esp + 0x2c]
inc eax
cmp eax, edi
jl 0x4380b0
cmp edx, dword [esp + 0x10]
je 0x438159
mov eax, dword [esp + 0x28]
mov esi, dword [esp + eax + 0x78]
mov edi, dword [esp + edx*4 + 0x78]
mov eax, dword [esi + 0x48]
movzx edx, word [eax + 0x1c]
mov ecx, dword [edi + 4]
mov eax, dword [edi + 0x48]
mov dword [esp + 0x24], ecx
movzx ecx, word [eax + 0x1c]
mov eax, dword [0x4e3234]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x18], edx
xor edx, edx
div dword [ecx + 0x24]
mov ebp, dword [esi + 4]
mov ecx, eax
mov eax, dword [esi + 0x48]
push eax
mov eax, dword [esp + 0x2c]
inc ecx
call fcn.0040e8e0
mov edx, dword [edi + 0x48]
mov eax, dword [esp + 0x1c]
push edx
mov ecx, ebp
call fcn.0040e8e0
mov eax, dword [esi + 0x48]
mov ecx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x34]
call fcn.0040e8e0
mov ecx, dword [esp + 0x30]
mov dword [esi + 4], ecx
mov dword [edi + 4], ebp
mov edi, dword [esp + 0x38]
add esp, 0xc
mov eax, dword [esp + 0x20]
mov edx, eax
mov dword [esp + 0x10], eax
lea eax, [edi - 1]
cmp edx, eax
jl 0x438094
mov edx, dword [esp + edi*4 + 0x74]
mov eax, dword [edx + 4]
mov ecx, dword [esp + 0x4c]
call fcn.0040b5f0
test byte [esp + 0x30], 8
jne 0x4381a7
mov eax, dword [esp + 0x3c]
cmp edi, eax
je 0x4381a7
lea ecx, [esp + 0x78]
jg 0x438197
lea ecx, [esp + 0x50]
mov eax, dword [ecx + eax*4 - 4]
mov ecx, dword [eax + 0x38]
mov edx, dword [edx + 0x38]
mov eax, dword [ecx + 8]
mov dword [edx + 8], eax
mov ecx, dword [esp + 0x34]
cmp byte [ecx + 0x11], 0
je 0x438317
mov ebp, dword [esp + 0x78]
movzx eax, word [ebp + 0x18]
movzx edx, byte [ebp + 0xc]
add eax, edx
mov dword [esp + 0x24], eax
xor eax, eax
cmp ebx, eax
mov dword [esp + 0x18], ebp
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x10], eax
jle 0x438317
mov dword [esp + 0x4c], eax
jmp 0x4381f0
mov eax, dword [esp + 0xb0]
mov edx, dword [esp + 0x10]
mov ecx, dword [eax + edx*4]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x20], ecx
cmp edx, dword [esp + 0x24]
jne 0x438248
xor edx, edx
cmp dword [esp + 0x38], edx
sete dl
mov esi, edx
inc eax
cmp eax, edi
jge 0x438222
mov ebp, dword [esp + eax*4 + 0x78]
jmp 0x438226
mov ebp, dword [esp + eax*4 + 0x50]
movzx ecx, word [ebp + 0x18]
movzx edx, byte [ebp + 0xc]
add ecx, esi
add edx, ecx
mov ecx, dword [esp + 0x24]
add ecx, edx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x24], ecx
cmp edx, ecx
je 0x438217
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x4c]
cmp edx, dword [esp + ecx + 0x8c]
jne 0x43837b
mov eax, dword [esp + 0x30]
inc eax
mov dword [esp + 0x30], eax
add eax, eax
add eax, eax
cmp dword [esp + 0x38], 0
mov esi, dword [esp + eax + 0x78]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x18], esi
je 0x438306
mov eax, dword [esp + 0x28]
cmp eax, edi
jge 0x4382a3
mov edx, dword [esi + 4]
cmp edx, dword [esp + eax*4 + 0xfc]
jne 0x4382a3
mov eax, dword [esp + 0x20]
cmp eax, dword [ebp + 0x38]
jb 0x4382a3
cmp eax, dword [ebp + 0x3c]
jb 0x438306
cmp word [esp + 0x40], 0
jne 0x4382cb
mov ecx, dword [esi + 4]
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x24]
push ecx
push 5
call fcn.0040b5e0
mov ecx, dword [esp + 0x40]
call fcn.00434070
add esp, 0xc
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0xa8]
call fcn.00410360
cmp ax, word [esi + 0x10]
jbe 0x4382fb
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x18]
lea edx, [esp + 0x14]
push edx
push ebp
call fcn.00434200
mov edi, dword [esp + 0x34]
add esp, 8
cmp dword [esp + 0x14], 0
jne 0x438603
mov eax, dword [esp + 0x10]
inc eax
cmp eax, ebx
mov dword [esp + 0x10], eax
jl 0x4381f0
lea eax, [edi - 1]
mov dword [esp + 0x10], 0
test eax, eax
jle 0x438464
lea ebx, [ebx]
mov eax, dword [esp + 0x10]
mov edi, dword [esp + eax*4 + 0x8c]
mov ebp, dword [esp + eax*4 + 0x78]
mov ecx, dword [esp + 0xb4]
mov eax, dword [esp + 0xb0]
movzx ecx, word [ecx + edi*2]
mov ebx, dword [eax + edi*4]
movzx edx, word [esp + 0x40]
mov esi, dword [esp + 0x74]
movzx eax, cx
add eax, edx
mov edx, dword [esp + 0x70]
add esi, edx
cmp byte [ebp + 8], 0
jne 0x438384
mov ecx, dword [ebp + 0x38]
mov edx, dword [ebx]
mov dword [ecx + 8], edx
jmp 0x4383e4
mov esi, dword [esp + 0x18]
jmp 0x438281
cmp dword [esp + 0x38], 0
je 0x4383ca
mov ecx, dword [esp + 0xb0]
mov edx, dword [ecx + edi*4 - 4]
lea eax, [esp + 0xfc]
push eax
mov eax, dword [ebp + 0x50]
dec edi
push edx
push ebp
call eax
mov ecx, dword [esp + 0x10c]
mov edx, dword [esp + 0x108]
push ecx
mov ebx, esi
push edx
add esi, 4
call fcn.0040b350
add esp, 0x14
add eax, 4
xor esi, esi
jmp 0x4383e4
sub ebx, 4
cmp cx, 4
jne 0x4383e4
mov eax, dword [esp + 0x48]
push ebx
push eax
mov eax, dword [eax + 0x4c]
call eax
add esp, 8
movzx eax, ax
add dword [esp + 0x74], eax
xor ecx, ecx
cmp dword [esp + 0xd0], edi
jg 0x438402
cmp ecx, 6
jge 0x438402
inc ecx
cmp dword [esp + ecx*4 + 0xd0], edi
jle 0x4383f3
mov ecx, dword [esp + ecx*4 + 0xb8]
cmp ecx, ebx
jb 0x438418
lea edx, [eax + ebx]
cmp ecx, edx
jb 0x4384bf
mov ecx, dword [ebp + 4]
mov edx, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x4c]
push eax
mov eax, dword [esp + 0x18]
add edx, eax
push ebx
push edx
mov eax, esi
call fcn.00436870
add esp, 0x10
mov dword [esp + 0x14], eax
test eax, eax
jne 0x438603
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x2c]
inc eax
dec ecx
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x438330
mov ebx, dword [esp + 0xa8]
mov edi, dword [esp + 0x2c]
mov eax, 1
sub eax, edi
cmp eax, edi
mov dword [esp + 0x10], eax
jge 0x43855b
mov ecx, eax
neg ecx
mov dword [esp + 0x30], ecx
nop
mov esi, ecx
test eax, eax
jl 0x438488
mov esi, eax
cmp byte [esp + esi + 0x114], 0
jne 0x438549
test eax, eax
jge 0x4384ae
mov edx, dword [esp + esi*4 + 0xe4]
cmp edx, dword [esp + esi*4 + 0x88]
jl 0x438549
test esi, esi
jne 0x4384d2
mov eax, dword [esp + 0x8c]
xor edx, edx
xor ecx, ecx
jmp 0x438505
mov eax, 0x12e3e
call fcn.00431150
mov dword [esp + 0x14], eax
jmp 0x438603
cmp esi, dword [esp + 0x3c]
jge 0x4384ea
xor edx, edx
cmp dword [esp + 0x38], edx
sete dl
add edx, dword [esp + esi*4 + 0xe4]
jmp 0x4384ec
mov edx, ebx
mov eax, dword [esp + esi*4 + 0x8c]
xor ecx, ecx
cmp dword [esp + 0x38], ecx
sete cl
add ecx, dword [esp + esi*4 + 0x88]
sub eax, ecx
mov ebp, dword [esp + esi*4 + 0x78]
lea edi, [esp + 0xa8]
push edi
push eax
push ecx
push edx
mov eax, ebp
call fcn.00437160
add esp, 0x10
mov dword [esp + 0x14], eax
test eax, eax
jne 0x438603
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + esi*4 + 0x5c]
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov dword [ebp + 0x14], eax
mov eax, dword [esp + 0x10]
mov byte [esp + esi + 0x114], 1
inc eax
dec ecx
cmp eax, edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x30], ecx
jl 0x438480
cmp dword [esp + 0x12c], 0
je 0x4385a6
mov esi, dword [esp + 0x48]
cmp word [esi + 0x18], 0
jne 0x4385a6
movzx ecx, byte [esi + 9]
mov ebx, dword [esp + 0x78]
cmp ecx, dword [ebx + 0x14]
jg 0x4385a6
push 0xffffffffffffffff
push ebx
call fcn.00434270
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x20], eax
push ebx
mov eax, esi
call fcn.004375a0
add esp, 0x10
lea esi, [esp + 0x14]
mov eax, ebx
call fcn.00436390
jmp 0x4385e9
mov ebx, dword [esp + 0x34]
cmp byte [ebx + 0x11], 0
je 0x4385e9
cmp word [esp + 0x40], 0
jne 0x4385e9
xor esi, esi
test edi, edi
jle 0x4385e9
mov edi, edi
mov eax, dword [esp + esi*4 + 0x78]
mov edx, dword [eax + 4]
mov eax, dword [eax + 0x38]
lea ecx, [esp + 0x14]
push ecx
push edx
push 5
add eax, 8
call fcn.0040b5e0
mov ecx, ebx
call fcn.00434070
inc esi
add esp, 0xc
cmp esi, edi
jl 0x4385c0
mov ebx, dword [esp + 0x3c]
cmp edi, ebx
jge 0x438603
mov eax, dword [esp + edi*4 + 0x50]
lea esi, [esp + 0x14]
call fcn.00436390
inc edi
cmp edi, ebx
jl 0x4385f1
mov eax, dword [esp + 0xb0]
push eax
push 0
call fcn.0040a090
mov edi, dword [esp + 0x44]
add esp, 8
xor esi, esi
pop ebp
test edi, edi
jle 0x43862e
mov eax, dword [esp + esi*4 + 0x4c]
call fcn.0040ff40
inc esi
cmp esi, edi
jl 0x438620
mov edi, dword [esp + 0x28]
xor esi, esi
test edi, edi
jle 0x43864e
jmp 0x438640
mov eax, dword [esp + esi*4 + 0x74]
call fcn.0040ff40
inc esi
cmp esi, edi
jl 0x438640
mov ecx, dword [esp + 0x118]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004ac66d
add esp, 0x110
ret