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

Disassembly:
push 0xffffffffffffffff
push 0x4fbf90
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x74
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov ecx, dword [ebp + 0xd8]
call fcn.0046e6e0
mov ecx, dword [ebp + 0xdc]
mov ebx, eax
mov dword [esp + 0x30], ebx
call fcn.0046e6e0
mov esi, eax
mov ecx, ebp
mov dword [esp + 0x3c], esi
call fcn.0041f4d0
xor edi, edi
lea ecx, [esp + 0x50]
mov dword [esp + 0x18], edi
call fcn.0044e490
mov dword [esp + 0x8c], edi
lea edi, [ebp + 8]
mov ecx, edi
call fcn.00451da0
test eax, eax
jne 0x41fd02
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x28]
push eax
lea edx, [esp + 0x38]
xor esi, esi
push ecx
push edx
mov ecx, edi
mov dword [esp + 0x40], esi
mov dword [esp + 0x30], esi
call fcn.00451ce0
test eax, eax
je 0x41fcee
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
dec edi
dec ebx
cmp edi, esi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], ebx
jl 0x41fcee
cmp ebx, dword [esp + 0x24]
jl 0x41fcee
cmp edi, dword [esp + 0x30]
jge 0x41fcee
cmp ebx, dword [esp + 0x3c]
jge 0x41fcee
cmp edi, esi
jle 0x41fc12
mov eax, dword [esp + 0x24]
cmp ebx, eax
jle 0x41fc12
dec ebx
dec edi
push ebx
push eax
push edi
push esi
lea ecx, [esp + 0x60]
call fcn.0044e510
mov ebx, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
mov ecx, dword [ebp + 0xd8]
mov eax, edi
add ecx, 0xc4
cdq
mov esi, dword [ecx + 0xc]
mov ecx, dword [ecx + 0x14]
idiv esi
mov edx, eax
mov eax, edi
mov dword [esp + 0x40], edx
cdq
idiv esi
mov eax, dword [esp + 0x40]
mov ecx, dword [ecx + eax*4]
mov eax, ebx
lea edx, [edx + edx*4]
lea edi, [ecx + edx*8]
mov ecx, dword [ebp + 0xdc]
add ecx, 0xc4
cdq
mov esi, dword [ecx + 0xc]
mov ecx, dword [ecx + 0x14]
idiv esi
mov edx, eax
mov eax, ebx
mov dword [esp + 0x40], edx
cdq
idiv esi
mov eax, dword [esp + 0x40]
mov ecx, dword [ecx + eax*4]
lea edx, [edx + edx*4]
lea esi, [ecx + edx*8]
mov ecx, edi
mov dword [edi + 0x18], esi
push esi
mov dword [esi + 0x18], edi
call fcn.00470640
test eax, eax
mov ecx, 2
jne 0x41fc8c
mov ecx, 0x2000002
mov edx, dword [esp + 0x34]
lea eax, [edx + 0xfffffff]
mov edx, dword [edi + 0xc]
shl eax, 4
or eax, ecx
or eax, edx
mov dword [edi + 0xc], eax
mov ebx, dword [esi + 0xc]
or ebx, ecx
mov dword [esi + 0xc], ebx
mov ecx, dword [esp + 0x34]
add ecx, 0xfffffff
mov eax, ebx
shl ecx, 4
or ecx, eax
mov dword [esi + 0xc], ecx
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x2c]
inc eax
lea esi, [edx + 1]
mov dword [esp + 0x24], eax
lea edx, [esp + 0x28]
push ecx
lea eax, [esp + 0x38]
push edx
push eax
lea ecx, [ebp + 8]
call fcn.00451ce0
test eax, eax
jne 0x41fbb7
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x24]
dec ecx
push ecx
dec eax
push edx
push eax
push esi
jmp 0x41fd0a
dec esi
dec ebx
push esi
push 0
push ebx
push 0
lea ecx, [esp + 0x60]
call fcn.0044e510
mov eax, dword [esp + 0x64]
test eax, eax
je 0x4206c5
mov eax, dword [ebp + 0x148]
test eax, eax
je 0x41fd35
lea ecx, [esp + 0x50]
push ecx
mov ecx, ebp
call fcn.0041f600
lea ecx, [esp + 0x50]
call fcn.0044e4f0
mov esi, eax
lea ecx, [esp + 0x50]
mov dword [esp + 0x2c], esi
call fcn.0044e4f0
mov ebx, eax
lea ecx, [esp + 0x50]
mov dword [esp + 0x14], ebx
call fcn.0044e4f0
mov edi, eax
lea ecx, [esp + 0x50]
mov dword [esp + 0x24], edi
call fcn.0044e4f0
mov dword [esp + 0x10], eax
sub eax, edi
sub ebx, esi
cmp ebx, eax
jg 0x41fd79
mov ebx, eax
cmp ebx, 0xc350
jle 0x41fd8d
mov ebx, 0xc350
mov ecx, 0x3e8
jmp 0x41fda6
test ebx, ebx
je 0x420608
cmp ebx, 0x3e8
jle 0x41fda4
mov ecx, 0x3e8
jmp 0x41fda6
mov ecx, ebx
xor eax, eax
mov dword [esp + 0x68], 0x510a60
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], 0x11
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
lea esi, [ebx*4]
mov byte [esp + 0x8c], 1
push esi
call fcn.004dbbfa
mov ecx, esi
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [esp + 0x70], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x70], ebx
mov ebx, dword [esp + 0x14]
push eax
push ecx
push ebx
push edi
push 1
mov ecx, ebp
call fcn.00423aa0
mov edx, dword [esp + 0x10]
mov esi, eax
mov eax, dword [esp + 0x24]
add edi, esi
add eax, esi
mov ecx, ebp
push eax
push edx
push edi
push ebx
push 1
mov dword [esp + 0x40], edi
mov dword [esp + 0x38], eax
call fcn.00423c60
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
sub ebx, eax
sub edx, eax
add eax, esi
mov dword [esp + 0x14], ebx
add ecx, eax
cmp edi, ebx
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], 0x32
jg 0x41ffd0
mov eax, dword [esp + 0x20]
dec eax
mov dword [esp + 0x20], eax
jne 0x41fe93
mov eax, dword [ebp + 0xb0]
mov dword [esp + 0x20], 0x32
mov ecx, dword [eax + 0x30]
test ecx, ecx
je 0x420619
mov ecx, dword [ebp + 0xd8]
mov eax, edi
add ecx, 0xc4
cdq
mov esi, dword [ecx + 0xc]
mov ecx, dword [ecx + 0x14]
idiv esi
mov ebx, eax
mov eax, edi
cdq
idiv esi
mov eax, dword [ecx + ebx*4]
mov ebx, dword [esp + 0x6c]
lea edx, [edx + edx*4]
mov ecx, dword [eax + edx*8 + 0x20]
lea esi, [eax + edx*8]
mov eax, ecx
xor edx, edx
shr eax, 4
div dword [esp + 0x70]
test ebx, ebx
mov dword [esp + 0x38], ecx
je 0x41fee7
mov eax, dword [ebx + edx*4]
test eax, eax
je 0x41fee7
cmp dword [eax + 8], ecx
je 0x41ff5b
mov eax, dword [eax]
test eax, eax
jne 0x41fedc
lea edx, [esp + 0x40]
lea eax, [esp + 0x38]
push edx
push eax
lea ecx, [esp + 0x70]
call fcn.00429e40
test eax, eax
jne 0x41ff45
mov eax, dword [esp + 0x6c]
test eax, eax
jne 0x41ff16
mov ecx, dword [esp + 0x70]
push 1
push ecx
lea ecx, [esp + 0x70]
call fcn.00498a60
lea ecx, [esp + 0x68]
call fcn.0042a080
mov edx, dword [esp + 0x40]
mov dword [eax + 4], edx
mov ecx, dword [esp + 0x38]
mov dword [eax + 8], ecx
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x40]
mov edx, dword [edx + ecx*4]
mov dword [eax], edx
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x40]
mov dword [ecx + edx*4], eax
mov dword [eax + 0xc], esi
mov ebx, dword [esp + 0x6c]
mov eax, dword [esp + 0x14]
inc edi
cmp edi, eax
jle 0x41fe6f
jmp 0x41ffda
test eax, eax
je 0x41fee7
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x41ff4c
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x38]
push ecx
push edx
lea ecx, [esp + 0x70]
call fcn.00429e40
test eax, eax
jne 0x41ffc4
mov eax, dword [esp + 0x6c]
test eax, eax
jne 0x41ff95
mov eax, dword [esp + 0x70]
push 1
push eax
lea ecx, [esp + 0x70]
call fcn.00498a60
lea ecx, [esp + 0x68]
call fcn.0042a080
mov ecx, dword [esp + 0x3c]
mov dword [eax + 4], ecx
mov edx, dword [esp + 0x38]
mov dword [eax + 8], edx
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x3c]
mov ecx, dword [ecx + edx*4]
mov dword [eax], ecx
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x3c]
mov dword [edx + ecx*4], eax
mov dword [eax + 0xc], 0
jmp 0x41ff48
mov esi, dword [esp + 0x70]
mov ebx, dword [esp + 0x6c]
jmp 0x41ffde
mov esi, dword [esp + 0x70]
mov edi, dword [esp + 0x74]
neg edi
sbb edi, edi
test edi, edi
je 0x42008e
cmp edi, 0xffffffff
mov ecx, edi
jne 0x42000b
xor edx, edx
test esi, esi
jbe 0x42000b
mov eax, ebx
mov ecx, dword [eax]
test ecx, ecx
jne 0x42000b
inc edx
add eax, 4
cmp edx, esi
jb 0x41fffd
mov edi, dword [ecx]
test edi, edi
jne 0x42002a
mov eax, dword [ecx + 4]
inc eax
cmp eax, esi
jae 0x42002a
lea edx, [ebx + eax*4]
mov edi, dword [edx]
test edi, edi
jne 0x42002a
inc eax
add edx, 4
cmp eax, esi
jb 0x42001c
mov eax, dword [ecx + 0xc]
mov esi, dword [ecx + 8]
test eax, eax
jne 0x420082
test ebx, ebx
je 0x420082
mov eax, esi
xor edx, edx
shr eax, 4
div dword [esp + 0x70]
mov eax, dword [ebx + edx*4]
test eax, eax
lea ecx, [ebx + edx*4]
je 0x420082
cmp dword [eax + 8], esi
je 0x42005c
mov ecx, eax
mov eax, dword [eax]
test eax, eax
jne 0x42004d
jmp 0x420082
mov edx, dword [eax]
mov dword [ecx], edx
mov ecx, dword [esp + 0x78]
mov dword [eax], ecx
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x74]
dec eax
mov dword [esp + 0x74], eax
jne 0x42007e
lea ecx, [esp + 0x68]
call fcn.00429df0
mov ebx, dword [esp + 0x6c]
mov esi, dword [esp + 0x70]
test edi, edi
jne 0x41ffee
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
cmp eax, ecx
mov dword [esp + 0x34], eax
jg 0x420171
jmp 0x4200a8
mov esi, dword [esp + 0x70]
mov eax, dword [esp + 0x20]
dec eax
mov dword [esp + 0x20], eax
jne 0x4200cc
mov edx, dword [ebp + 0xb0]
mov dword [esp + 0x20], 0x32
mov eax, dword [edx + 0x30]
test eax, eax
je 0x420637
mov ecx, dword [ebp + 0xdc]
mov edi, dword [esp + 0x34]
add ecx, 0xc4
mov eax, edi
cdq
mov esi, dword [ecx + 0xc]
mov ecx, dword [ecx + 0x14]
idiv esi
mov edx, eax
mov eax, edi
mov dword [esp + 0x30], edx
cdq
idiv esi
mov eax, dword [esp + 0x30]
mov ecx, dword [ecx + eax*4]
lea edx, [edx + edx*4]
lea esi, [ecx + edx*8]
xor edx, edx
mov ecx, dword [esi + 0x20]
mov eax, ecx
shr eax, 4
div dword [esp + 0x70]
test ebx, ebx
je 0x42015c
mov eax, dword [ebx + edx*4]
test eax, eax
je 0x42015c
cmp dword [eax + 8], ecx
je 0x420125
mov eax, dword [eax]
test eax, eax
jne 0x420118
jmp 0x42015c
test eax, eax
je 0x42015c
mov edi, dword [eax + 0xc]
test edi, edi
je 0x42015c
mov eax, dword [edi + 0x18]
xor ecx, ecx
cmp eax, ecx
jne 0x42027e
push esi
mov ecx, edi
call fcn.00470640
test eax, eax
je 0x420158
mov eax, dword [esp + 0x18]
mov dword [edi + 0x18], esi
inc eax
mov dword [esi + 0x18], edi
mov dword [esp + 0x18], eax
mov ebx, dword [esp + 0x6c]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x10]
inc eax
cmp eax, ecx
mov dword [esp + 0x34], eax
jle 0x4200a4
mov edi, dword [esp + 0x2c]
mov ecx, dword [ebp + 0xd8]
add ecx, 0xc4
mov eax, edi
cdq
mov esi, dword [ecx + 0xc]
mov ecx, dword [ecx + 0x14]
idiv esi
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x28], edi
mov dword [esp + 0x1c], ebx
mov edx, eax
mov eax, edi
mov dword [esp + 0x34], edx
cdq
idiv esi
mov eax, dword [esp + 0x34]
mov ecx, dword [ecx + eax*4]
mov eax, ebx
lea edx, [edx + edx*4]
lea edi, [ecx + edx*8]
mov ecx, dword [ebp + 0xdc]
add ecx, 0xc4
cdq
mov esi, dword [ecx + 0xc]
mov ecx, dword [ecx + 0x14]
idiv esi
mov edx, eax
mov eax, ebx
mov dword [esp + 0x34], edx
cdq
idiv esi
mov eax, dword [esp + 0x34]
mov ecx, dword [ecx + eax*4]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x30], eax
lea edx, [edx + edx*4]
lea esi, [ecx + edx*8]
mov ecx, dword [esp + 0x14]
mov edx, ebx
cmp eax, ecx
mov dword [esp + 0x34], edx
jg 0x420584
mov ebx, dword [esp + 0x28]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
cmp eax, ecx
jg 0x420553
mov eax, dword [esp + 0x20]
dec eax
mov dword [esp + 0x20], eax
jne 0x420231
mov ecx, dword [ebp + 0xb0]
mov dword [esp + 0x20], 0x32
mov eax, dword [ecx + 0x30]
test eax, eax
je 0x420668
mov eax, dword [edi + 0x18]
test eax, eax
jne 0x4202e9
mov ecx, dword [ebp + 0xd8]
inc ebx
add ecx, 0xc4
mov eax, ebx
cdq
mov edi, dword [ecx + 0xc]
mov ecx, dword [ecx + 0x14]
idiv edi
mov dword [esp + 0x28], ebx
mov edx, eax
mov eax, ebx
mov dword [esp + 0x44], edx
cdq
idiv edi
mov eax, dword [esp + 0x44]
mov ecx, dword [ecx + eax*4]
mov eax, dword [esp + 0x14]
cmp ebx, eax
lea edx, [edx + edx*4]
lea edi, [ecx + edx*8]
jg 0x420553
jmp 0x420231
mov dword [eax + 0x18], ecx
mov dword [edi + 0x18], ecx
mov ebx, dword [esp + 0x6c]
cmp ebx, ecx
je 0x4202e0
mov esi, dword [esi + 0x20]
xor edx, edx
mov eax, esi
shr eax, 4
div dword [esp + 0x70]
mov eax, dword [ebx + edx*4]
test eax, eax
lea ecx, [ebx + edx*4]
je 0x4202e0
cmp dword [eax + 8], esi
je 0x4202ba
mov ecx, eax
mov eax, dword [eax]
test eax, eax
jne 0x4202a4
dec dword [esp + 0x18]
jmp 0x42015c
mov edx, dword [eax]
mov dword [ecx], edx
mov ecx, dword [esp + 0x78]
mov dword [eax], ecx
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x74]
dec eax
mov dword [esp + 0x74], eax
jne 0x4202dc
lea ecx, [esp + 0x68]
call fcn.00429df0
mov ebx, dword [esp + 0x6c]
dec dword [esp + 0x18]
jmp 0x42015c
cmp ebx, dword [esp + 0x14]
jg 0x420553
mov eax, dword [esi + 0x18]
test eax, eax
jne 0x420348
mov esi, dword [esp + 0x1c]
mov ecx, dword [ebp + 0xdc]
inc esi
add ecx, 0xc4
mov eax, esi
mov dword [esp + 0x1c], esi
mov ebx, dword [ecx + 0xc]
mov ecx, dword [ecx + 0x14]
cdq
idiv ebx
mov edx, eax
mov eax, esi
mov dword [esp + 0x44], edx
cdq
idiv ebx
mov eax, dword [esp + 0x44]
mov ebx, dword [esp + 0x28]
mov ecx, dword [ecx + eax*4]
mov eax, dword [esp + 0x10]
lea edx, [edx + edx*4]
lea esi, [ecx + edx*8]
mov edx, dword [esp + 0x1c]
cmp edx, eax
jg 0x420476
jmp 0x4202f3
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
cmp ecx, eax
jg 0x420476
mov eax, dword [edi + 0x18]
cmp eax, esi
je 0x420476
mov ecx, dword [esp + 0x24]
mov edx, dword [eax + 0x10]
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [edi + 0x10]
push edx
push eax
push ecx
push 0
mov ecx, ebp
call fcn.00423c60
mov edx, dword [esp + 0x10]
mov dword [esp + 0x4c], eax
mov eax, dword [edi + 0x18]
push edx
mov edx, dword [esp + 0x18]
mov ecx, dword [eax + 0x10]
mov eax, dword [edi + 0x10]
push ecx
push edx
push eax
push 0
mov ecx, ebp
call fcn.00423aa0
mov ecx, dword [esp + 0x24]
mov edx, dword [esi + 0x10]
push ecx
mov ecx, dword [esi + 0x18]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x30]
push edx
mov edx, dword [ecx + 0x10]
push eax
push edx
push 0
mov ecx, ebp
call fcn.00423c60
mov ecx, dword [esi + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x10]
push eax
mov eax, dword [esi + 0x18]
push ecx
push edx
mov ecx, dword [eax + 0x10]
push ecx
push 0
mov ecx, ebp
call fcn.00423aa0
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
add eax, edx
mov edx, dword [esp + 0x4c]
add ecx, edx
cmp ecx, eax
jg 0x420456
jl 0x420466
mov ecx, dword [edi + 0x18]
mov eax, dword [edi + 0x10]
sub eax, dword [ecx + 0x10]
cdq
mov ecx, eax
mov eax, dword [esi + 0x10]
xor ecx, edx
sub ecx, edx
mov edx, dword [esi + 0x18]
sub eax, dword [edx + 0x10]
cdq
xor eax, edx
sub eax, edx
cmp ecx, eax
jg 0x420466
jl 0x420456
xor eax, eax
mov ax, word [esi + 0x24]
mov ecx, eax
xor eax, eax
mov ax, word [edi + 0x24]
sub eax, ecx
js 0x420466
xor ecx, ecx
cmp eax, ecx
jg 0x420458
mov edx, dword [edi + 0x20]
mov eax, dword [esi + 0x20]
cmp eax, edx
sbb eax, eax
neg eax
mov dword [esp + 0x4c], eax
je 0x420468
mov edx, dword [esi + 0x18]
mov dword [edx + 0x18], ecx
mov dword [esi + 0x18], ecx
jmp 0x420231
xor ecx, ecx
mov edx, dword [esi + 0x18]
mov dword [edx + 0x18], ecx
mov dword [esi + 0x18], ecx
jmp 0x420231
xor ecx, ecx
mov eax, dword [edi + 0x18]
mov dword [eax + 0x18], ecx
mov dword [edi + 0x18], ecx
jmp 0x420231
cmp ebx, dword [esp + 0x14]
jg 0x420553
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
cmp eax, ecx
jg 0x420553
cmp ebx, dword [esp + 0x30]
jle 0x4204bd
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x34]
cmp edx, eax
jle 0x4204bd
mov ecx, dword [esp + 0x34]
mov eax, edx
dec eax
lea edx, [ebx - 1]
push eax
mov eax, dword [esp + 0x34]
push ecx
push edx
push eax
lea ecx, [esp + 0x60]
call fcn.0044e510
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
inc ebx
inc ecx
cmp ebx, eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x28], ebx
jg 0x420506
mov ecx, dword [ebp + 0xd8]
mov eax, ebx
add ecx, 0xc4
cdq
mov edi, dword [ecx + 0xc]
mov ecx, dword [ecx + 0x14]
idiv edi
mov edx, eax
mov eax, ebx
mov dword [esp + 0x4c], edx
cdq
idiv edi
mov eax, dword [esp + 0x4c]
mov ecx, dword [ecx + eax*4]
lea edx, [edx + edx*4]
lea edi, [ecx + edx*8]
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x10]
cmp ecx, eax
mov dword [esp + 0x1c], ecx
jg 0x420549
mov esi, dword [ebp + 0xdc]
mov eax, ecx
add esi, 0xc4
cdq
mov ebx, dword [esi + 0xc]
mov esi, dword [esi + 0x14]
idiv ebx
mov edx, eax
mov eax, ecx
mov dword [esp + 0x4c], edx
cdq
idiv ebx
mov eax, dword [esp + 0x4c]
mov ebx, dword [esp + 0x28]
mov ecx, dword [esi + eax*4]
lea edx, [edx + edx*4]
lea esi, [ecx + edx*8]
cmp ebx, dword [esp + 0x14]
jle 0x4201fd
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
cmp eax, edx
je 0x420584
mov esi, dword [esp + 0x14]
mov edx, eax
cmp edx, esi
jg 0x4205a3
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x10]
cmp eax, ecx
jg 0x4205a3
push ecx
push eax
push esi
push edx
lea ecx, [esp + 0x60]
call fcn.0044e510
jmp 0x4205a3
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x30]
push ecx
push edx
push eax
mov ecx, ebp
call fcn.00423e20
add dword [esp + 0x18], eax
mov dword [esp + 0x68], 0x510a60
mov edi, dword [esp + 0x6c]
xor esi, esi
cmp edi, esi
mov byte [esp + 0x8c], 5
je 0x4205db
mov eax, dword [esp + 0x70]
cmp eax, esi
jbe 0x4205db
mov ecx, edi
mov edx, eax
mov eax, dword [ecx]
cmp eax, esi
je 0x4205d5
mov eax, dword [eax]
cmp eax, esi
jne 0x4205cf
add ecx, 4
dec edx
jne 0x4205c9
push edi
call fcn.004dbc23
mov ecx, dword [esp + 0x80]
add esp, 4
mov dword [esp + 0x6c], esi
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], esi
call fcn.004d660c
mov dword [esp + 0x7c], esi
mov byte [esp + 0x8c], 0
mov eax, dword [esp + 0x64]
test eax, eax
jne 0x41fd1f
jmp 0x4206c5
mov dword [esp + 0x68], 0x510a60
lea ecx, [esp + 0x68]
mov byte [esp + 0x8c], 2
call fcn.00429df0
jmp 0x4206c5
mov dword [esp + 0x68], 0x510a60
test ebx, ebx
mov byte [esp + 0x8c], 3
je 0x420665
test esi, esi
jbe 0x420665
mov ecx, ebx
mov edx, esi
mov eax, dword [ecx]
test eax, eax
je 0x42065f
mov eax, dword [eax]
test eax, eax
jne 0x420659
add ecx, 4
dec edx
jne 0x420653
push ebx
jmp 0x42069f
mov dword [esp + 0x68], 0x510a60
mov esi, dword [esp + 0x6c]
mov byte [esp + 0x8c], 4
test esi, esi
je 0x42069e
mov eax, dword [esp + 0x70]
test eax, eax
jbe 0x42069e
mov ecx, esi
mov edx, eax
mov eax, dword [ecx]
test eax, eax
je 0x420698
mov eax, dword [eax]
test eax, eax
jne 0x420692
add ecx, 4
dec edx
jne 0x42068c
push esi
call fcn.004dbc23
mov ecx, dword [esp + 0x80]
xor esi, esi
add esp, 4
mov dword [esp + 0x6c], esi
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], esi
call fcn.004d660c
mov dword [esp + 0x7c], esi
lea ecx, [esp + 0x50]
mov dword [esp + 0x8c], 0xffffffff
call fcn.004d5f15
mov ecx, dword [esp + 0x84]
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x80
ret