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

Disassembly:
sub esp, 0x28
push ebx
push ebp
mov ebp, dword [esp + 0x34]
xor ebx, ebx
mov dword [esp + 0xc], ebx
mov eax, dword [ebp + 4]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x1c]
cmp eax, ebx
jne 0x4111c8
pop ebp
mov eax, 1
pop ebx
add esp, 0x28
ret
mov al, byte [ebp + 0x29]
push esi
push edi
mov edi, dword [esp + 0x40]
test al, al
mov esi, 1
je 0x4111ff
mov al, byte [ebp + 0x2a]
test al, al
jne 0x4111ff
mov eax, dword [ebp + 0x2c]
mov dword [esp + 0x20], esi
mov ecx, dword [eax + 0x20]
cmp ecx, ebx
je 0x4112d3
mov dword [esp + 0x10], ecx
mov dword [eax + 0x20], ebx
jmp 0x4112e3
mov dword [esp + 0x20], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x10], ebx
cmp edi, 0x40000
jle 0x411276
push 0
push 2
push 0
push 2
push edi
push ebp
call fcn.00412160
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0x34]
add esp, 0x18
xor esi, esi
test eax, eax
jbe 0x411276
mov eax, dword [ebp + 0x30]
mov ecx, dword [eax + esi*4]
mov eax, dword [ecx + 0x100]
cmp edi, eax
jg 0x41126e
mov edx, dword [esp + 0x48]
mov edx, dword [edx + 4]
lea edx, [edx + edi*2]
mov edi, dword [esp + 0x44]
sub edx, edi
cmp edx, eax
jle 0x41126a
mov eax, dword [esp + 0x18]
push 0
push eax
push ecx
call fcn.004138b0
add esp, 0xc
mov edi, dword [esp + 0x40]
mov eax, dword [ebp + 0x34]
inc esi
cmp esi, eax
jb 0x411236
mov eax, dword [esp + 0x44]
mov esi, edi
cmp edi, eax
jge 0x4114c9
push 1
push 1
push 1
push 2
push esi
push ebp
call fcn.00412160
mov esi, eax
mov eax, dword [esp + 0x5c]
add esp, 0x18
cmp esi, eax
jg 0x4114c9
mov eax, dword [esp + 0x14]
push 1
push 1
push 1
push 4
dec eax
push 0
push ebp
mov dword [esp + 0x2c], eax
call fcn.00412160
add esp, 0x18
cmp esi, eax
je 0x4114b1
cmp esi, dword [esp + 0x44]
jl 0x411284
jmp 0x4114c9
push 0x14
call fcn.00449530
mov ecx, eax
add esp, 4
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x44]
mov dword [ecx + 0xc], esi
cmp edi, eax
mov dword [ecx], edi
jge 0x411342
mov eax, dword [ebp + 0x34]
xor ebx, ebx
xor esi, esi
test eax, eax
jbe 0x411325
mov edx, dword [ebp + 0x30]
mov ecx, dword [0x4652d8]
push ecx
mov eax, dword [edx + esi*4]
push eax
call fcn.00432050
add esp, 8
test al, al
jne 0x41131f
mov eax, dword [ebp + 0x34]
inc esi
cmp esi, eax
jb 0x4112fb
jmp 0x411325
mov ecx, dword [ebp + 0x30]
mov ebx, dword [ecx + esi*4]
mov esi, dword [esp + 0x44]
push esi
push edi
push ebx
call fcn.004136b0
mov ebx, dword [esp + 0x1c]
add esp, 0xc
sub esi, edi
mov dword [ebx + 4], eax
mov dword [ebx + 8], esi
jmp 0x41134c
mov dword [ecx + 8], ebx
mov dword [ecx + 4], ebx
mov ebx, dword [esp + 0x10]
mov eax, dword [ebx + 8]
mov edx, dword [ebp + 0x20]
cmp eax, 1
mov dword [ebx + 0x10], edx
jne 0x4113a1
mov ecx, dword [0x471314]
mov eax, edx
cmp eax, ecx
jne 0x411387
mov eax, dword [ebx + 4]
mov cx, word [eax]
cmp cx, word [0x47128c]
jne 0x411387
push eax
call fcn.004495d0
add esp, 4
mov dword [ebx + 4], 0x47128c
jmp 0x4113a1
mov eax, dword [ebx + 4]
cmp byte [eax], 0xa
jne 0x4113a1
push eax
call fcn.004495d0
mov edx, dword [0x464de4]
add esp, 4
mov dword [ebx + 4], edx
mov eax, dword [ebp + 0x2c]
mov ebx, dword [eax + 0x24]
test ebx, ebx
je 0x4113b8
mov dword [esp + 0x1c], ebx
mov dword [eax + 0x24], 0
jmp 0x4113c8
push 0x14
call fcn.00449530
mov ebx, eax
add esp, 4
mov dword [esp + 0x1c], ebx
mov edx, dword [esp + 0x48]
mov dword [ebx + 0xc], 1
mov dword [ebx], edi
mov eax, dword [edx + 0xc]
mov dword [ebx + 0x10], eax
mov ecx, dword [edx + 0xc]
mov esi, dword [0x471314]
xor eax, eax
cmp ecx, esi
mov ecx, dword [edx + 4]
sete al
inc eax
mov esi, ecx
imul esi, eax
cmp esi, eax
mov dword [ebx + 8], ecx
mov dword [ebx + 4], 0
jne 0x411438
mov eax, dword [ebx + 0x10]
mov ecx, dword [0x471314]
cmp eax, ecx
jne 0x411427
mov ecx, dword [edx + 8]
mov ax, word [ecx]
cmp ax, word [0x47128c]
jne 0x411427
mov dword [ebx + 4], 0x47128c
jmp 0x411438
mov ecx, dword [edx + 8]
cmp byte [ecx], 0xa
jne 0x411438
mov edx, dword [0x464de4]
mov dword [ebx + 4], edx
test esi, esi
je 0x41146c
mov eax, dword [ebx + 4]
test eax, eax
jne 0x41146c
push esi
call fcn.00449530
mov edx, dword [esp + 0x4c]
mov ecx, esi
mov dword [ebx + 4], eax
mov edi, eax
mov esi, dword [edx + 8]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
add esp, 4
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x40]
mov eax, dword [ebp + 0x2c]
mov ecx, dword [eax + 0x28]
test ecx, ecx
je 0x411483
mov dword [esp + 0x3c], ecx
mov dword [eax + 0x28], 0
jmp 0x411493
push 0x10
call fcn.00449530
add esp, 4
mov dword [esp + 0x3c], eax
mov ecx, eax
mov edx, dword [esp + 0x10]
mov dword [ecx + 4], ebx
mov dword [ecx], edx
mov eax, dword [ebp + 0x2c]
mov edx, dword [eax + 8]
mov dword [ecx + 0xc], 0
mov dword [ecx + 8], edx
jmp 0x41120f
push ebp
call fcn.00410fd0
mov ecx, dword [esp + 0x18]
add esp, 4
neg eax
sbb eax, eax
inc eax
add ecx, eax
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x24]
push ecx
push edx
push edi
push ebp
call dword [eax + 0x78]
mov edi, eax
mov eax, dword [esp + 0x30]
add esp, 0x10
mov dword [esp + 0x28], edi
test edi, edi
je 0x411565
test eax, eax
je 0x411cfa
mov esi, dword [esp + 0x10]
mov eax, dword [esi + 4]
test eax, eax
je 0x41151f
cmp eax, dword [0x464de4]
je 0x411518
cmp eax, 0x47128c
je 0x411518
push eax
call fcn.004495d0
add esp, 4
mov dword [esi + 4], 0
mov ecx, dword [ebp + 0x2c]
mov dword [ecx + 0x20], esi
mov eax, dword [ebx + 4]
test eax, eax
je 0x41154b
cmp eax, dword [0x464de4]
je 0x411544
cmp eax, 0x47128c
je 0x411544
push eax
call fcn.004495d0
add esp, 4
mov dword [ebx + 4], 0
mov edx, dword [ebp + 0x2c]
mov ecx, dword [esp + 0x3c]
mov dword [edx + 0x24], ebx
mov eax, dword [ebp + 0x2c]
mov dword [eax + 0x28], ecx
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
test eax, eax
je 0x411924
mov eax, dword [esp + 0x3c]
mov edi, dword [ebp + 0x2c]
xor edx, edx
mov ecx, dword [eax + 4]
mov ebx, dword [edi + 8]
cmp dword [ecx + 8], edx
jne 0x4115d0
mov ecx, dword [eax]
cmp dword [ecx + 8], 1
jne 0x4115d0
cmp ebx, edx
je 0x4115d0
mov eax, dword [ebx + 4]
cmp dword [eax + 8], edx
jne 0x4115d0
mov eax, dword [ebx]
mov esi, dword [ecx]
mov eax, dword [eax]
lea ecx, [eax - 1]
cmp ecx, esi
jne 0x4115ab
or ecx, 0xffffffff
mov dword [esp + 0x18], ecx
jmp 0x4115b6
xor ecx, ecx
cmp eax, esi
sete cl
mov dword [esp + 0x18], ecx
mov eax, dword [edi + 0x38]
cmp eax, edx
je 0x4115c1
cmp ecx, eax
jne 0x4115d0
cmp ecx, edx
mov dword [edi + 0x38], ecx
je 0x4115d4
mov esi, dword [esp + 0x10]
mov edi, dword [ebx]
jmp 0x4115e3
mov dword [esp + 0x18], edx
mov esi, dword [esp + 0x1c]
cmp ebx, edx
je 0x4115e1
mov edi, dword [ebx + 4]
jmp 0x4115e3
xor edi, edi
mov eax, dword [ebp + 0x2c]
cmp dword [eax + 0x34], edx
jle 0x411848
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x411654
test ebx, ebx
je 0x411848
mov edx, dword [ebx]
mov eax, dword [edx + 8]
test eax, eax
jne 0x411615
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx]
mov ecx, dword [edx + 8]
test ecx, ecx
je 0x411631
mov ecx, dword [ebx + 4]
cmp eax, dword [ecx + 8]
jne 0x411848
mov edx, dword [esp + 0x3c]
mov eax, dword [edx]
cmp dword [eax + 8], 1
jne 0x411848
mov ecx, dword [esp + 0x3c]
mov ecx, dword [ecx + 4]
cmp dword [ecx + 8], 1
jne 0x411848
mov eax, dword [ebx + 4]
mov edx, dword [eax + 8]
add edx, dword [eax]
mov eax, dword [ecx]
cmp edx, eax
jne 0x411848
mov eax, dword [ebp + 0x2c]
cmp dword [eax + 0xc], ebx
jne 0x411848
mov ecx, dword [ebx + 4]
mov eax, dword [esi + 0x10]
cmp eax, dword [ecx + 0x10]
jne 0x411848
cmp eax, dword [0x471310]
jne 0x41167f
mov edx, dword [esi + 4]
cmp byte [edx], 0xa
jne 0x4116a1
cmp eax, dword [0x471314]
jne 0x411848
push 0xa
call fcn.0040edb0
mov ecx, dword [esi + 4]
add esp, 4
cmp word [ecx], ax
je 0x411848
mov eax, dword [edi + 0x10]
mov ecx, dword [0x471310]
cmp eax, ecx
jne 0x4116b6
mov edx, dword [edi + 4]
cmp byte [edx], 0xa
jne 0x4116d8
cmp eax, dword [0x471314]
jne 0x411848
push 0xa
call fcn.0040edb0
mov ecx, dword [edi + 4]
add esp, 4
cmp word [ecx], ax
je 0x411848
mov eax, dword [edi + 0x10]
mov edi, dword [0x471314]
xor edx, edx
cmp eax, edi
mov eax, dword [esp + 0x18]
sete dl
inc edx
test eax, eax
mov dword [esp + 0x20], edx
jne 0x411755
mov eax, dword [ebx + 4]
mov esi, edx
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
inc ecx
imul ecx, esi
push ecx
push edx
call fcn.00449560
mov ecx, dword [ebx + 4]
mov edx, dword [esp + 0x44]
mov dword [ecx + 4], eax
mov eax, dword [ebx + 4]
mov edx, dword [edx + 4]
mov ecx, esi
mov edi, dword [eax + 8]
mov esi, dword [edx + 4]
imul edi, ecx
mov edx, dword [eax + 4]
mov eax, ecx
add edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x24]
mov edx, dword [eax + 8]
inc edx
mov dword [eax + 8], edx
mov edx, dword [ecx + 4]
push edx
call fcn.004495d0
add esp, 0xc
jmp 0x411763
jge 0x411763
mov eax, dword [ebx]
mov edx, dword [eax]
dec edx
mov dword [eax], edx
mov eax, dword [ebx + 4]
dec dword [eax]
mov eax, dword [ebp + 0x2c]
mov ecx, dword [esp + 0x10]
mov dword [eax + 0x20], ecx
mov edx, dword [ebp + 0x2c]
mov eax, dword [esp + 0x1c]
mov dword [edx + 0x24], eax
mov ecx, dword [ebp + 0x2c]
mov edx, dword [esp + 0x3c]
mov dword [ecx + 0x28], edx
mov eax, dword [ebx]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x411833
inc ecx
mov eax, dword [eax + 4]
imul ecx, dword [esp + 0x20]
push ecx
push eax
call fcn.00449560
mov ecx, dword [ebx]
add esp, 8
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x18]
test eax, eax
mov eax, dword [ebx]
jl 0x4117d3
mov ecx, dword [esp + 0x20]
mov edi, dword [eax + 8]
mov edx, dword [esp + 0x3c]
imul edi, ecx
mov edx, dword [edx]
mov esi, dword [edx + 4]
mov edx, dword [eax + 4]
mov eax, ecx
add edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
jmp 0x411806
mov edx, dword [eax + 8]
mov esi, dword [esp + 0x20]
imul edx, esi
mov ecx, dword [eax + 4]
push edx
push ecx
add ecx, esi
push ecx
call fcn.0045c436
mov eax, dword [esp + 0x48]
mov ecx, esi
add esp, 0xc
mov edx, dword [eax]
mov eax, dword [ebx]
mov esi, dword [edx + 4]
mov edi, dword [eax + 4]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
mov eax, dword [esp + 0x10]
rep movsb byte es:[edi], byte [esi]
mov ebx, dword [ebx]
mov edx, dword [ebx + 8]
inc edx
mov dword [ebx + 8], edx
mov eax, dword [eax + 4]
cmp eax, dword [0x464de4]
je 0x411833
cmp eax, 0x47128c
je 0x411833
push eax
call fcn.004495d0
add esp, 4
mov eax, dword [ebp + 0x2c]
cmp dword [eax + 0x18], 0x4000
jb 0x4118fa
jmp 0x4118f1
mov ecx, dword [ebp + 0x2c]
mov eax, dword [ecx + 4]
add eax, 2
lea edx, [eax + eax*4]
mov eax, dword [ecx]
shl edx, 2
push edx
push eax
call fcn.00449560
mov ecx, dword [ebp + 0x2c]
mov esi, dword [esp + 0x18]
add esp, 8
mov edi, dword [esp + 0x1c]
mov dword [ecx], eax
mov eax, dword [ebp + 0x2c]
mov edx, dword [eax + 4]
mov eax, dword [eax]
mov dword [eax + edx*4], esi
mov eax, dword [ebp + 0x2c]
mov ecx, dword [eax + 4]
inc ecx
mov dword [eax + 4], ecx
mov eax, dword [ebp + 0x2c]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov dword [edx + ecx*4], edi
mov eax, dword [ebp + 0x2c]
mov edx, dword [esp + 0x3c]
mov ebx, dword [eax + 4]
inc ebx
mov dword [eax + 4], ebx
mov eax, dword [ebp + 0x2c]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x4118ad
mov dword [ecx + 0xc], edx
jmp 0x4118b0
mov dword [eax + 0x14], edx
mov ecx, dword [esi + 8]
mov eax, 1
cmp ecx, eax
ja 0x4118c1
cmp dword [edi + 8], eax
jbe 0x4118c3
xor eax, eax
mov ecx, dword [ebp + 0x2c]
mov dword [ecx + 0x34], eax
mov eax, dword [ebp + 0x2c]
mov dword [eax + 0x10], edx
mov ecx, dword [ebp + 0x2c]
mov dword [ecx + 0xc], edx
mov eax, dword [ebp + 0x2c]
mov dword [eax + 8], edx
mov eax, dword [ebp + 0x2c]
mov edx, dword [eax + 0x18]
inc edx
mov dword [eax + 0x18], edx
mov eax, dword [ebp + 0x2c]
cmp dword [eax + 0x18], 0x4000
jb 0x4118fa
push eax
call fcn.00412010
add esp, 4
mov ecx, dword [ebp + 0x2c]
mov dword [ecx + 0x1c], 0
mov al, byte [ebp + 0x28]
test al, al
jne 0x41192f
mov eax, dword [ebp + 0x2c]
mov edx, dword [eax + 8]
mov ecx, dword [edx + 4]
mov dword [eax + 0x2c], ecx
mov eax, dword [ebp + 0x2c]
mov edx, dword [eax + 8]
mov ecx, dword [edx]
mov dword [eax + 0x30], ecx
jmp 0x41192b
mov al, byte [ebp + 0x29]
test al, al
jne 0x41192f
mov byte [ebp + 0x28], 1
mov edx, dword [esp + 0x40]
push edx
push ebp
call fcn.00412500
mov edi, eax
add esp, 8
test edi, edi
je 0x411c4e
mov eax, dword [esp + 0x48]
mov ebx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
mov eax, dword [eax + 4]
mov dword [esp + 0x24], eax
sub eax, ebx
add eax, edx
xor ebx, ebx
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x40]
test eax, eax
jle 0x41197a
mov ecx, dword [ebp + 0x3c]
cmp dword [ecx], edi
je 0x41197a
inc ebx
add ecx, 4
cmp ebx, eax
jl 0x41196e
mov esi, dword [edi + 8]
test esi, esi
je 0x411991
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 0xc]
add ecx, eax
mov eax, dword [edi]
add ecx, eax
cmp ecx, edx
jbe 0x411994
mov esi, dword [edi + 4]
test esi, esi
mov dword [esp + 0x3c], esi
je 0x411b22
mov ecx, dword [edi]
mov eax, dword [esi + 0xc]
mov edx, dword [esp + 0x40]
add eax, ecx
cmp eax, edx
jg 0x4119ca
mov edx, dword [esi + 0x10]
add edx, eax
cmp edx, dword [esp + 0x40]
ja 0x4119ca
mov dword [esp + 0x3c], esi
mov esi, dword [esi + 4]
test esi, esi
jne 0x4119a2
jmp 0x411a67
test esi, esi
je 0x411b22
cmp eax, dword [esp + 0x40]
jg 0x411a67
mov ecx, dword [esi + 0x10]
lea edx, [ecx + eax]
cmp edx, dword [esp + 0x44]
jae 0x4119f4
mov ecx, dword [esp + 0x24]
sub ecx, eax
mov eax, dword [esp + 0x40]
jmp 0x4119f8
mov eax, dword [esp + 0x20]
add ecx, eax
mov eax, ecx
mov dword [esi + 0x10], ecx
test eax, eax
jne 0x411a60
mov ecx, dword [esp + 0x3c]
mov eax, dword [esi + 4]
push esi
mov dword [esp + 0x20], eax
mov dword [ecx + 4], eax
mov dword [edi + 8], 0
call fcn.004495d0
mov eax, dword [edi + 4]
add esp, 4
cmp esi, eax
jne 0x411a5a
mov eax, dword [esp + 0x1c]
test eax, eax
mov dword [edi + 4], eax
jne 0x411a50
push edi
push ebp
mov dword [esp + 0x44], eax
call fcn.00412690
mov edi, eax
add esp, 8
test edi, edi
je 0x411c2a
mov esi, dword [edi + 4]
jmp 0x411a67
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x3c], esi
jmp 0x411a67
mov esi, dword [esp + 0x1c]
jmp 0x411a67
mov dword [esp + 0x3c], esi
mov esi, dword [esi + 4]
test esi, esi
je 0x411b22
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
mov edx, dword [edi]
add eax, ecx
add eax, edx
mov edx, dword [esp + 0x44]
cmp eax, edx
jg 0x411b4c
mov eax, dword [esp + 0x3c]
mov ecx, dword [esi + 4]
test eax, eax
mov dword [esp + 0x1c], ecx
je 0x411a99
mov dword [eax + 4], ecx
push esi
call fcn.004495d0
mov eax, dword [edi + 4]
add esp, 4
cmp esi, eax
mov dword [edi + 8], 0
jne 0x411b10
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x3c], 0
test eax, eax
mov dword [edi + 4], eax
jne 0x411b10
test ebx, ebx
jne 0x411ace
mov ebx, 1
jmp 0x411b00
mov ecx, dword [ebp + 0x40]
dec ecx
cmp ebx, ecx
mov dword [ebp + 0x40], ecx
jge 0x411b00
mov eax, dword [ebp + 0x3c]
mov edx, ebx
shl edx, 0x1e
sub edx, ebx
add edx, ecx
lea ecx, [eax + ebx*4 + 4]
shl edx, 2
push edx
lea edx, [eax + ebx*4]
push ecx
push edx
call fcn.0045c436
push edi
call fcn.004495d0
add esp, 0x10
cmp ebx, dword [ebp + 0x40]
jge 0x411b1e
mov eax, dword [ebp + 0x3c]
mov edi, dword [eax + ebx*4]
mov esi, dword [edi + 4]
jmp 0x411b14
mov esi, dword [esp + 0x1c]
test esi, esi
jne 0x411a6f
jmp 0x411b22
xor edi, edi
xor esi, esi
mov ecx, dword [ebp + 0x40]
lea eax, [ebx + 1]
cmp eax, ecx
jge 0x411b5c
mov ecx, dword [ebp + 0x3c]
mov ebx, eax
mov dword [esp + 0x3c], 0
mov edi, dword [ecx + ebx*4]
test edi, edi
mov esi, dword [edi + 4]
jne 0x411a67
jmp 0x411c2a
mov ecx, dword [esi + 0x10]
sub eax, edx
cmp ecx, eax
jae 0x411b57
mov eax, ecx
mov dword [esi + 0x10], eax
jmp 0x411b60
mov edx, dword [esp + 0x44]
test edi, edi
je 0x411c2a
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x40]
add eax, ecx
mov ecx, edx
cmp edx, eax
jg 0x411b7d
mov ecx, eax
mov eax, dword [edi]
cmp eax, ecx
jl 0x411b90
mov ecx, dword [esp + 0x20]
add eax, ecx
mov dword [edi], eax
jmp 0x411c2a
cmp eax, dword [esp + 0x40]
jle 0x411c0f
push edi
push ebp
call fcn.00412660
add esp, 8
test eax, eax
je 0x411c0f
mov edx, dword [edi]
mov ecx, dword [eax]
sub edx, ecx
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x411bc0
test esi, esi
je 0x411bc0
add dword [esi + 0xc], ecx
mov esi, dword [esi + 4]
test esi, esi
jne 0x411bb6
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x411bd6
mov esi, dword [ecx + 0xc]
add esi, edx
mov dword [ecx + 0xc], esi
mov ecx, dword [ecx + 4]
test ecx, ecx
jne 0x411bc7
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x411be5
mov edx, dword [edi + 4]
mov dword [eax + 4], edx
jmp 0x411bfb
mov eax, dword [ecx + 4]
test eax, eax
je 0x411bf5
mov ecx, eax
mov eax, dword [ecx + 4]
test eax, eax
jne 0x411bec
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
push edi
push ebp
mov dword [edi + 4], 0
call fcn.00412690
add esp, 8
dec ebx
jmp 0x411c2a
mov eax, dword [esp + 0x20]
test eax, eax
je 0x411c4e
test esi, esi
je 0x411c2a
mov edx, dword [esi + 0xc]
add edx, eax
mov dword [esi + 0xc], edx
mov esi, dword [esi + 4]
test esi, esi
jne 0x411c1b
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x411c4e
mov eax, dword [ebp + 0x40]
inc ebx
cmp ebx, eax
jge 0x411c4e
mov edx, dword [ebp + 0x3c]
mov eax, dword [edx + ebx*4]
mov esi, dword [eax]
add esi, ecx
inc ebx
mov dword [eax], esi
mov eax, dword [ebp + 0x40]
cmp ebx, eax
jl 0x411c3a
mov eax, dword [esp + 0x48]
mov esi, dword [esp + 0x40]
mov edi, dword [eax + 4]
add edi, esi
cmp esi, edi
jge 0x411cad
mov ebx, dword [esp + 0x14]
push 1
push 1
push 1
push 2
push esi
push ebp
call fcn.00412160
mov esi, eax
add esp, 0x18
cmp esi, edi
jg 0x411ca9
push 1
push 1
push 1
push 4
push 0
push ebp
inc ebx
call fcn.00412160
add esp, 0x18
cmp esi, eax
je 0x411c99
cmp esi, edi
jl 0x411c63
jmp 0x411ca9
push ebp
call fcn.00410fd0
add esp, 4
neg eax
sbb eax, eax
inc eax
sub ebx, eax
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x40]
mov edi, dword [esp + 0x44]
mov esi, dword [esp + 0x48]
lea ecx, [esp + 0x2c]
push ecx
push str.propertyCallback
push ebp
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], esi
call fcn.0043e280
mov edx, dword [esp + 0x20]
push edx
push esi
push edi
push ebx
push ebp
call fcn.00411d10
movsx eax, byte [ebp + 0x28]
push eax
push str.callback
push ebp
call fcn.0043e280
mov edi, dword [esp + 0x54]
add esp, 0x2c
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret