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

Disassembly:
push 0xffffffffffffffff
push 0x4babc1
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x4db040]
xor eax, esp
mov dword [esp + 0x9c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4db040]
xor eax, esp
push eax
lea eax, [esp + 0xb4]
mov dword fs:[0], eax
mov eax, dword [esp + 0xc4]
mov ebp, dword [esp + 0xdc]
mov ebx, ecx
lea ecx, [esp + 0x4c]
mov dword [esp + 0x48], eax
mov dword [esp + 0x24], ebp
call fcn.00466c30
mov edi, eax
lea esi, [esp + 0x2c]
mov dword [esp + 0xbc], 0
call fcn.00405a40
mov byte [esp + 0xbc], 1
cmp dword [edi + 0x18], 0x10
jb 0x403515
mov edi, dword [edi + 4]
jmp 0x403518
add edi, 4
mov esi, 0x10
cmp dword [eax + 0x18], esi
jb 0x403527
mov eax, dword [eax + 4]
jmp 0x40352a
add eax, 4
push edi
push 0x4c3f9c
push eax
call fcn.004058f0
add esp, 0xc
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x44], esi
jb 0x403550
mov ecx, dword [esp + 0x30]
push ecx
call fcn.004a21e6
add esp, 4
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], 0
mov byte [esp + 0x30], 0
mov byte [esp + 0xbc], 4
cmp dword [esp + 0x64], esi
jb 0x403580
mov edx, dword [esp + 0x50]
push edx
call fcn.004a21e6
add esp, 4
mov edi, dword [esp + 0x1c]
push 0
push 0
push 0x4c45b0
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], 0
mov byte [esp + 0x5c], 0
call fcn.004a20c4
mov esi, eax
mov eax, dword [edi]
mov edx, dword [eax + 0x30]
push 0
push esi
mov ecx, edi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x38]
push 0x4c3fac
mov ecx, esi
call edx
test ebp, ebp
je 0x4035d3
mov eax, dword [esi]
mov edx, dword [eax + 0x40]
push 0
push ebp
mov ecx, esi
call edx
push 0
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x20], esi
call fcn.004a20be
test eax, eax
je 0x4035f0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x78]
push ebx
push ecx
call fcn.004057c0
add esp, 8
mov byte [esp + 0xbc], 5
cmp dword [eax + 0x18], 0x10
jb 0x403611
mov ebp, dword [eax + 4]
jmp 0x403614
lea ebp, [eax + 4]
mov edi, dword [esp + 0x1c]
push 0
push 0
push 0x4c45b0
call fcn.004a20c4
mov edx, dword [edi]
mov esi, eax
mov eax, dword [edx + 0x30]
push 0
push esi
mov ecx, edi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x38]
push 0x4c3fbc
mov ecx, esi
call eax
test ebp, ebp
je 0x403652
mov edx, dword [esi]
mov eax, dword [edx + 0x40]
push 0
push ebp
mov ecx, esi
call eax
push 0
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x20], esi
call fcn.004a20be
test eax, eax
je 0x40366f
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 4]
call eax
mov ebx, 0x10
mov byte [esp + 0xbc], 4
cmp dword [esp + 0x90], ebx
jb 0x403692
mov ecx, dword [esp + 0x7c]
push ecx
call fcn.004a21e6
add esp, 4
mov edx, dword [esp + 0xd0]
push edx
lea esi, [esp + 0x7c]
call fcn.00406680
add esp, 4
mov byte [esp + 0xbc], 6
cmp dword [eax + 0x18], ebx
jb 0x4036b8
mov ebp, dword [eax + 4]
jmp 0x4036bb
lea ebp, [eax + 4]
mov edi, dword [esp + 0x1c]
push 0
push 0
push 0x4c45b0
call fcn.004a20c4
mov esi, eax
mov eax, dword [edi]
mov edx, dword [eax + 0x30]
push 0
push esi
mov ecx, edi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x38]
push 0x4c3fc8
mov ecx, esi
call edx
test ebp, ebp
je 0x4036f9
mov eax, dword [esi]
mov edx, dword [eax + 0x40]
push 0
push ebp
mov ecx, esi
call edx
push 0
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x20], esi
call fcn.004a20be
test eax, eax
je 0x403716
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xbc], 4
cmp dword [esp + 0x90], ebx
jb 0x403734
mov ecx, dword [esp + 0x7c]
push ecx
call fcn.004a21e6
add esp, 4
mov edx, dword [esp + 0xd4]
push edx
lea esi, [esp + 0x7c]
call fcn.00406680
add esp, 4
mov byte [esp + 0xbc], 7
cmp dword [eax + 0x18], ebx
jb 0x40375a
mov ebp, dword [eax + 4]
jmp 0x40375d
lea ebp, [eax + 4]
mov edi, dword [esp + 0x1c]
push 0
push 0
push 0x4c45b0
call fcn.004a20c4
mov esi, eax
mov eax, dword [edi]
mov edx, dword [eax + 0x30]
push 0
push esi
mov ecx, edi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x38]
push 0x4c3fd4
mov ecx, esi
call edx
test ebp, ebp
je 0x40379b
mov eax, dword [esi]
mov edx, dword [eax + 0x40]
push 0
push ebp
mov ecx, esi
call edx
push 0
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x20], esi
call fcn.004a20be
test eax, eax
je 0x4037b8
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xbc], 4
cmp dword [esp + 0x90], ebx
jb 0x4037d6
mov ecx, dword [esp + 0x7c]
push ecx
call fcn.004a21e6
add esp, 4
mov ebx, dword [esp + 0xd8]
push ebx
lea esi, [esp + 0x7c]
call fcn.00406680
add esp, 4
mov byte [esp + 0xbc], 8
cmp dword [eax + 0x18], 0x10
jb 0x4037fd
mov ebp, dword [eax + 4]
jmp 0x403800
lea ebp, [eax + 4]
mov edi, dword [esp + 0x1c]
push 0
push 0
push 0x4c45b0
call fcn.004a20c4
mov edx, dword [edi]
mov esi, eax
mov eax, dword [edx + 0x30]
push 0
push esi
mov ecx, edi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x38]
push 0x4c3fdc
mov ecx, esi
call eax
test ebp, ebp
je 0x40383e
mov edx, dword [esi]
mov eax, dword [edx + 0x40]
push 0
push ebp
mov ecx, esi
call eax
push 0
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x20], esi
call fcn.004a20be
test eax, eax
je 0x40385b
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 4]
call eax
mov edi, 0x10
mov byte [esp + 0xbc], 4
cmp dword [esp + 0x90], edi
jb 0x40387e
mov ecx, dword [esp + 0x7c]
push ecx
call fcn.004a21e6
add esp, 4
mov eax, 0x4c44f8
mov dword [esp + 0xac], 0xf
mov dword [esp + 0xa8], 0
mov byte [esp + 0x98], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4038a4
sub eax, edx
push eax
push 0x4c44f8
lea ecx, [esp + 0x9c]
call fcn.00406c40
xor ecx, ecx
mov byte [esp + 0xbc], 9
call fcn.004064a0
mov dword [esp + 0x14], eax
mov eax, 1
mov byte [esp + 0xbc], 0xa
cmp dword [esp + 0xd0], eax
jne 0x4038ed
mov eax, 2
mov edx, dword [esp + 0xd4]
push edx
push ebx
push eax
push 0x4c3fe0
lea esi, [esp + 0xa4]
call fcn.004065c0
mov eax, dword [esp + 0xa8]
add esp, 0x10
cmp dword [esp + 0xac], edi
jae 0x403922
lea eax, [esp + 0x98]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x1c]
call eax
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov eax, dword [edx + 0x30]
call eax
test eax, eax
jne 0x403d4f
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov eax, dword [edx + 0x3c]
mov edi, dword [esp + 0x1c]
xor ebx, ebx
push ebx
call eax
push ebx
push ebx
push 0x4c45b0
mov ebp, eax
call fcn.004a20c4
mov edx, dword [edi]
mov esi, eax
mov eax, dword [edx + 0x30]
push ebx
push esi
mov ecx, edi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x38]
push 0x4c4104
mov ecx, esi
call eax
cmp ebp, ebx
je 0x40398b
mov edx, dword [esi]
mov eax, dword [edx + 0x40]
push ebx
push ebp
mov ecx, esi
call eax
push ebx
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x20], esi
call fcn.004a20be
cmp eax, ebx
je 0x4039a7
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov eax, dword [edx + 0x3c]
mov edi, dword [esp + 0x1c]
push 1
call eax
push ebx
push ebx
push 0x4c45b0
mov ebp, eax
call fcn.004a20c4
mov edx, dword [edi]
mov esi, eax
mov eax, dword [edx + 0x30]
push ebx
push esi
mov ecx, edi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x38]
push 0x4c4114
mov ecx, esi
call eax
cmp ebp, ebx
je 0x4039f0
mov edx, dword [esi]
mov eax, dword [edx + 0x40]
push ebx
push ebp
mov ecx, esi
call eax
push ebx
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x20], esi
call fcn.004a20be
cmp eax, ebx
je 0x403a0c
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov eax, dword [edx + 0x3c]
mov edi, dword [esp + 0x1c]
push 2
call eax
push ebx
push ebx
push 0x4c45b0
mov ebp, eax
call fcn.004a20c4
mov edx, dword [edi]
mov esi, eax
mov eax, dword [edx + 0x30]
push ebx
push esi
mov ecx, edi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x38]
push str._delete
mov ecx, esi
call eax
cmp ebp, ebx
je 0x403a55
mov edx, dword [esi]
mov eax, dword [edx + 0x40]
push ebx
push ebp
mov ecx, esi
call eax
push ebx
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x20], esi
call fcn.004a20be
cmp eax, ebx
je 0x403a71
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov eax, dword [edx + 0x3c]
mov edi, dword [esp + 0x1c]
push 4
call eax
push ebx
push ebx
push 0x4c45b0
mov ebp, eax
call fcn.004a20c4
mov edx, dword [edi]
mov esi, eax
mov eax, dword [edx + 0x30]
push ebx
push esi
mov ecx, edi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x38]
push str.__unaligned
mov ecx, esi
call eax
cmp ebp, ebx
je 0x403aba
mov edx, dword [esi]
mov eax, dword [edx + 0x40]
push ebx
push ebp
mov ecx, esi
call eax
push ebx
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x20], esi
call fcn.004a20be
cmp eax, ebx
je 0x403ad6
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 4]
call eax
mov eax, 0x4c44f8
mov dword [esp + 0x90], 0xf
mov dword [esp + 0x8c], ebx
mov byte [esp + 0x7c], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x403af4
sub eax, edx
push eax
push 0x4c44f8
lea ecx, [esp + 0x80]
call fcn.00406c40
mov eax, dword [esp + 0xd0]
mov byte [esp + 0xbc], 0xb
cmp eax, 2
je 0x403b2c
cmp eax, 3
jne 0x403bf5
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov eax, dword [edx + 0x3c]
push 3
call eax
mov edx, eax
cmp eax, ebx
jne 0x403b44
mov edx, 0x4c44f8
mov eax, edx
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x403b50
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x80]
call fcn.00406c40
cmp dword [esp + 0x8c], ebx
jne 0x403b8d
mov ecx, dword [esp + 0xd8]
inc ecx
push ecx
push str.__restrict
lea esi, [esp + 0x80]
call fcn.004065c0
add esp, 8
cmp dword [esp + 0x90], 0x10
mov ebp, dword [esp + 0x7c]
jae 0x403b9f
lea ebp, [esp + 0x7c]
mov edi, dword [esp + 0x1c]
push ebx
push ebx
push 0x4c45b0
call fcn.004a20c4
mov edx, dword [edi]
mov esi, eax
mov eax, dword [edx + 0x30]
push ebx
push esi
mov ecx, edi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x38]
push 0x4c4144
mov ecx, esi
call eax
cmp ebp, ebx
je 0x403bd9
mov edx, dword [esi]
mov eax, dword [edx + 0x40]
push ebx
push ebp
mov ecx, esi
call eax
push ebx
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x20], esi
call fcn.004a20be
cmp eax, ebx
je 0x403bf5
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov eax, dword [edx + 0x3c]
push ebx
call eax
mov ecx, eax
cmp eax, ebx
jne 0x403c0c
mov ecx, 0x4c44f8
mov eax, ecx
mov dword [esp + 0x64], 0xf
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], 0
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x403c22
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0x54]
call fcn.00406c40
mov byte [esp + 0xbc], 0xc
cmp dword [esp + 0x90], 0x10
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x7c]
mov edi, esi
jae 0x403c56
lea ebx, [esp + 0x7c]
cmp dword [esp + 0x64], 0x10
mov eax, dword [esp + 0x50]
mov dword [esp + 0x28], 0
jae 0x403c6d
lea eax, [esp + 0x50]
lea ecx, [esp + 0x28]
push ecx
push 0x4c44fc
push eax
call fcn.004a25a5
mov edx, dword [esp + 0x30]
mov eax, dword [esi]
mov ebp, dword [esp + 0x34]
add esp, 0xc
push edx
mov edx, dword [eax + 0x3c]
push ebx
push 1
mov ecx, esi
call edx
push eax
mov eax, dword [edi]
mov edx, dword [eax + 0x3c]
push 2
mov ecx, edi
call edx
push eax
push ebp
push 0x4c4158
lea esi, [esp + 0xac]
call fcn.004065c0
add esp, 0x18
mov byte [esp + 0xbc], 0xb
cmp dword [esp + 0x64], 0x10
jb 0x403cd3
mov eax, dword [esp + 0x50]
push eax
call fcn.004a21e6
add esp, 4
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov eax, dword [edx + 0x18]
call eax
mov dword [esp + 0x20], eax
mov byte [esp + 0xbc], 0xd
mov ecx, dword [esp + 0x98]
mov esi, 0x10
cmp dword [esp + 0xac], esi
jae 0x403d06
lea ecx, [esp + 0x98]
mov edx, dword [eax]
push ecx
mov ecx, eax
mov eax, dword [edx + 0x30]
call eax
push 0
lea ecx, [esp + 0x24]
push ecx
mov byte [esp + 0xc4], 0xb
call fcn.004a20be
test eax, eax
je 0x403d31
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xbc], 0xa
cmp dword [esp + 0x90], esi
jb 0x403d4f
mov ecx, dword [esp + 0x7c]
push ecx
call fcn.004a21e6
add esp, 4
mov edx, dword [esp + 0xd8]
mov eax, dword [esp + 0xd4]
mov ecx, dword [esp + 0xd0]
push edx
push eax
push ecx
push 0x4c41d0
lea esi, [esp + 0xa4]
call fcn.004065c0
mov eax, dword [esp + 0xa8]
add esp, 0x10
cmp dword [esp + 0xac], 0x10
jae 0x403d93
lea eax, [esp + 0x98]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x1c]
call eax
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov eax, dword [edx + 0x30]
call eax
test eax, eax
jne 0x404646
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov eax, dword [edx + 0x3c]
xor ebx, ebx
push ebx
call eax
mov edx, eax
cmp eax, ebx
jne 0x403dcb
mov edx, 0x4c44f8
mov ebp, 0xf
mov eax, edx
mov dword [esp + 0x90], ebp
mov dword [esp + 0x8c], ebx
mov byte [esp + 0x7c], 0
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x403de8
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x80]
call fcn.00406c40
mov eax, dword [esp + 0x7c]
mov edi, 0x10
mov dword [esp + 0x70], ebx
cmp dword [esp + 0x90], edi
jae 0x403e19
lea eax, [esp + 0x7c]
lea ecx, [esp + 0x70]
push ecx
push 0x4c44fc
push eax
call fcn.004a25a5
mov esi, dword [esp + 0x7c]
add esp, 0xc
mov dword [esp + 0x6c], esi
cmp dword [esp + 0x90], edi
jb 0x403e4a
mov edx, dword [esp + 0x7c]
push edx
call fcn.004a21e6
add esp, 4
push esi
push 0x4c4230
lea esi, [esp + 0x9c]
mov dword [esp + 0x98], ebp
mov dword [esp + 0x94], ebx
mov byte [esp + 0x84], 0
call fcn.004065c0
mov eax, dword [esp + 0xa0]
add esp, 8
cmp dword [esp + 0xac], edi
jae 0x403e8c
lea eax, [esp + 0x98]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x1c]
call eax
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov eax, dword [edx + 0x30]
call eax
test eax, eax
jne 0x404323
mov dword [esp + 0x28], eax
nop
mov edi, dword [esp + 0x1c]
xor ebx, ebx
push ebx
push ebx
push 0x4c45b0
call fcn.004a20c4
mov edx, dword [edi]
mov esi, eax
mov eax, dword [edx + 0x30]
push ebx
push esi
mov ecx, edi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x38]
push 0x4c429c
mov ecx, esi
call eax
mov dword [esp + 0x18], esi
mov byte [esp + 0xbc], 0xe
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov edi, dword [esi]
mov eax, dword [edx + 0x3c]
push ebx
add edi, 0x48
call eax
mov edx, dword [edi]
push eax
push 0x4c42a8
mov ecx, esi
call edx
mov eax, dword [esp + 0x18]
mov esi, dword [eax]
mov ecx, dword [esp + 0x14]
mov edi, eax
mov eax, dword [ecx]
mov edx, dword [eax + 0x3c]
push 1
add esi, 0x48
call edx
push eax
mov eax, dword [esi]
push 0x4c42b4
mov ecx, edi
call eax
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov eax, dword [edx + 0x3c]
push 1
call eax
mov edx, eax
cmp eax, ebx
jne 0x403f42
mov edx, 0x4c44f8
mov ebp, 0xf
mov eax, edx
mov dword [esp + 0x64], ebp
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], 0
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x403f60
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x54]
call fcn.00406c40
mov eax, dword [esp + 0x50]
mov edi, 0x10
mov dword [esp + 0x68], ebx
cmp dword [esp + 0x64], edi
jae 0x403f8b
lea eax, [esp + 0x50]
lea ecx, [esp + 0x68]
push ecx
push 0x4c44fc
push eax
call fcn.004a25a5
add esp, 0xc
cmp dword [esp + 0x64], edi
jb 0x403fb1
mov edx, dword [esp + 0x50]
push edx
call fcn.004a21e6
add esp, 4
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov edx, dword [eax + 0x3c]
push 2
call edx
mov ecx, eax
cmp eax, ebx
jne 0x403fc9
mov ecx, 0x4c44f8
mov eax, ecx
mov dword [esp + 0x44], ebp
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], 0
lea esi, [eax + 1]
jmp 0x403fe0
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x403fe0
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0x34]
call fcn.00406c40
mov byte [esp + 0xbc], 0xf
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov edx, dword [eax + 0x3c]
push ebx
call edx
mov edx, eax
cmp eax, ebx
jne 0x404013
mov edx, 0x4c44f8
mov eax, edx
mov dword [esp + 0x64], ebp
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], 0
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x404025
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x54]
call fcn.00406c40
mov byte [esp + 0xbc], 0x10
mov eax, dword [esp + 0x30]
mov dword [esp + 0x20], ebx
cmp dword [esp + 0x44], edi
jae 0x404053
lea eax, [esp + 0x30]
lea ecx, [esp + 0x20]
push ecx
push 0x4c44fc
push eax
call fcn.004a25a5
mov esi, dword [esp + 0x2c]
add esp, 0xc
test byte [0x4dd654], 1
jne 0x40409c
or dword [0x4dd654], 1
mov byte [esp + 0xbc], 0x11
call fcn.00407020
push 0x4c1ab0
call fcn.004a26ee
add esp, 4
mov byte [esp + 0xbc], 0x10
mov edx, dword [esp + 0x68]
push esi
push edx
push 0x4dd490
lea eax, [esp + 0x58]
call fcn.00413810
cmp dword [esp + 0x64], edi
jb 0x4040c3
mov eax, dword [esp + 0x50]
push eax
call fcn.004a21e6
add esp, 4
mov byte [esp + 0xbc], 0xe
mov dword [esp + 0x64], ebp
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], 0
cmp dword [esp + 0x44], edi
jb 0x4040eb
mov ecx, dword [esp + 0x30]
push ecx
call fcn.004a21e6
add esp, 4
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov eax, dword [edx + 0x3c]
push 3
call eax
mov edx, eax
cmp eax, ebx
jne 0x404103
mov edx, 0x4c44f8
mov eax, edx
mov dword [esp + 0x44], ebp
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], 0
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x404115
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x34]
call fcn.00406c40
mov eax, dword [esp + 0x30]
mov dword [esp + 0x24], ebx
cmp dword [esp + 0x44], edi
jae 0x40413b
lea eax, [esp + 0x30]
lea ecx, [esp + 0x24]
push ecx
push 0x4c44fc
push eax
call fcn.004a25a5
add esp, 0xc
cmp dword [esp + 0x44], edi
jb 0x404161
mov edx, dword [esp + 0x30]
push edx
call fcn.004a21e6
add esp, 4
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov edx, dword [eax + 0x3c]
push 4
call edx
mov edx, eax
cmp eax, ebx
jne 0x404179
mov edx, 0x4c44f8
mov eax, edx
mov dword [esp + 0x44], ebp
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], 0
lea esi, [eax + 1]
jmp 0x404190
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x404190
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x34]
call fcn.00406c40
mov eax, dword [esp + 0x30]
mov dword [esp + 0x20], ebx
cmp dword [esp + 0x44], edi
jae 0x4041b6
lea eax, [esp + 0x30]
lea ecx, [esp + 0x20]
push ecx
push 0x4c44fc
push eax
call fcn.004a25a5
mov eax, dword [esp + 0x2c]
imul eax, eax, 0x3e8
add esp, 0xc
mov dword [esp + 0x74], eax
cmp dword [esp + 0x44], edi
jb 0x4041ea
mov edx, dword [esp + 0x30]
push edx
call fcn.004a21e6
add esp, 4
mov eax, dword [esp + 0x24]
cmp eax, ebx
jle 0x4042df
mov ebx, dword [esp + 0x48]
mov ebp, dword [esp + 0x28]
add ebx, 0x20
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 0x1c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
push 0xffffffffffffffff
call eax
push 0x120
call fcn.004a2289
add esp, 4
push 0x120
mov esi, eax
push 0
push esi
mov dword [esp + 0x2c], esi
call fcn.004a54d0
mov ecx, dword [esp + 0xd4]
mov edx, dword [esp + 0xd8]
mov dword [esi], 1
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx]
mov edx, dword [eax + 0x3c]
add esp, 0xc
push 0
call edx
lea ecx, [esi + 0x10]
test eax, eax
jne 0x40426a
mov byte [ecx], al
jmp 0x404283
xor edi, edi
sub eax, ecx
mov edi, edi
mov dl, byte [eax + ecx]
mov byte [ecx], dl
test dl, dl
je 0x404283
inc edi
inc ecx
cmp edi, 0xfe
jb 0x404270
mov eax, dword [esp + 0x68]
mov dword [esi + 0x110], eax
call dword [0x4c2094]
mov dword [esi + 0x114], eax
mov dword [esi + 0x118], ebp
mov esi, dword [ebx + 0x14]
mov edx, dword [esi + 4]
lea ecx, [esp + 0x20]
push ecx
push edx
push esi
call fcn.00416250
mov ecx, ebx
mov edi, eax
call fcn.00443110
mov dword [esi + 4], edi
mov eax, dword [edi + 4]
mov dword [eax], edi
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 0x1c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x18]
call eax
add ebp, dword [esp + 0x74]
sub dword [esp + 0x24], 1
jne 0x404205
push 0
lea ecx, [esp + 0x1c]
push ecx
mov byte [esp + 0xc4], 0xa
call fcn.004a20be
test eax, eax
je 0x404300
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov eax, dword [edx + 0x34]
call eax
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov eax, dword [edx + 0x30]
add dword [esp + 0x28], 0x64
call eax
test eax, eax
je 0x403eb0
mov ecx, dword [esp + 0x6c]
push ecx
push 0x4c42c0
lea esi, [esp + 0x9c]
call fcn.004065c0
mov eax, dword [esp + 0xa0]
mov edi, 0x10
add esp, 8
cmp dword [esp + 0xac], edi
jae 0x404358
lea eax, [esp + 0x98]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x1c]
call eax
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov eax, dword [edx + 0x30]
call eax
test eax, eax
jne 0x404646
xor ebx, ebx
jmp 0x404385
mov edi, 0x10
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov eax, dword [edx + 0x3c]
push 1
mov ebp, 0xf
call eax
mov edx, eax
cmp eax, ebx
jne 0x4043a2
mov edx, 0x4c44f8
mov eax, edx
mov dword [esp + 0x44], ebp
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], 0
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4043b4
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x34]
call fcn.00406c40
mov eax, dword [esp + 0x30]
mov dword [esp + 0x18], ebx
cmp dword [esp + 0x44], edi
jae 0x4043da
lea eax, [esp + 0x30]
lea ecx, [esp + 0x18]
push ecx
push 0x4c44fc
push eax
call fcn.004a25a5
add esp, 0xc
cmp dword [esp + 0x44], edi
jb 0x404400
mov edx, dword [esp + 0x30]
push edx
call fcn.004a21e6
add esp, 4
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov edx, dword [eax + 0x3c]
push ebx
call edx
mov ecx, eax
cmp eax, ebx
jne 0x404417
mov ecx, 0x4c44f8
mov eax, ecx
mov dword [esp + 0x44], ebp
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], 0
lea esi, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x404430
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0x34]
call fcn.00406c40
mov byte [esp + 0xbc], 0x12
test byte [0x4dd654], 1
jne 0x40447e
or dword [0x4dd654], 1
mov byte [esp + 0xbc], 0x13
call fcn.00407020
push 0x4c1ab0
call fcn.004a26ee
add esp, 4
mov byte [esp + 0xbc], 0x12
mov ebp, dword [esp + 0x18]
push 1
push ebp
push 0x4dd490
lea eax, [esp + 0x38]
call fcn.00413a50
mov byte [esp + 0xbc], 0xa
cmp dword [esp + 0x44], edi
jb 0x4044ae
mov eax, dword [esp + 0x30]
push eax
call fcn.004a21e6
add esp, 4
mov ecx, dword [esp + 0x48]
mov ecx, dword [ecx + 0x1c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
push 0xffffffffffffffff
call eax
push 0x120
call fcn.004a2289
add esp, 4
push 0x120
mov esi, eax
push ebx
push esi
mov dword [esp + 0x78], esi
call fcn.004a54d0
mov ecx, dword [esp + 0xd4]
mov edx, dword [esp + 0xd8]
mov dword [esi], 3
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx]
mov edx, dword [eax + 0x3c]
add esp, 0xc
push ebx
call edx
lea ecx, [esi + 0x10]
cmp eax, ebx
jne 0x404512
mov byte [ecx], 0
jmp 0x404529
xor edi, edi
sub eax, ecx
mov dl, byte [eax + ecx]
mov byte [ecx], dl
test dl, dl
je 0x404529
inc edi
inc ecx
cmp edi, 0xfe
jb 0x404516
mov dword [esi + 0x110], ebp
call dword [0x4c2094]
mov dword [esi + 0x114], eax
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov edx, dword [eax + 0x3c]
push 2
call edx
mov edx, eax
cmp eax, ebx
jne 0x404553
mov edx, 0x4c44f8
mov ebp, 0xf
mov eax, edx
mov dword [esp + 0x90], ebp
mov dword [esp + 0x8c], ebx
mov byte [esp + 0x7c], 0
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x404570
sub eax, edi
push eax
push edx
lea ecx, [esp + 0x80]
call fcn.00406c40
mov eax, dword [esp + 0x7c]
mov edi, 0x10
mov dword [esp + 0x18], ebx
cmp dword [esp + 0x90], edi
jae 0x4045a1
lea eax, [esp + 0x7c]
lea ecx, [esp + 0x18]
push ecx
push 0x4c44fc
push eax
call fcn.004a25a5
mov edx, dword [esp + 0x24]
imul edx, edx, 0x3e8
add esp, 0xc
mov dword [esi + 0x118], edx
cmp dword [esp + 0x90], edi
jb 0x4045da
mov eax, dword [esp + 0x7c]
push eax
call fcn.004a21e6
add esp, 4
mov dword [esp + 0x90], ebp
mov ebp, dword [esp + 0x48]
mov esi, dword [ebp + 0x34]
mov edx, dword [esi + 4]
add ebp, 0x20
lea ecx, [esp + 0x6c]
push ecx
push edx
push esi
mov dword [esp + 0x98], ebx
mov byte [esp + 0x88], 0
call fcn.00416250
mov ecx, ebp
mov edi, eax
call fcn.00443110
mov dword [esi + 4], edi
mov eax, dword [edi + 4]
mov dword [eax], edi
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 0x1c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x18]
call eax
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov eax, dword [edx + 0x34]
call eax
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov eax, dword [edx + 0x30]
call eax
test eax, eax
je 0x404380
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
push 0
lea ecx, [esp + 0x18]
push ecx
mov esi, eax
mov byte [esp + 0xc4], 9
call fcn.004a20be
test eax, eax
je 0x404674
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0xac], 0x10
jb 0x40468e
mov ecx, dword [esp + 0x98]
push ecx
call fcn.004a21e6
add esp, 4
push 0
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0xb4], 0xf
mov dword [esp + 0xb0], 0
mov byte [esp + 0xa0], 0
mov dword [esp + 0xc4], 0xffffffff
call fcn.004a20be
test eax, eax
je 0x4046d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0xb4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x9c]
xor ecx, esp
call fcn.004a2151
add esp, 0xac
ret 0x1c