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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4d9127
push eax
mov eax, dword [esp + 0x14]
mov dword fs:[0], esp
sub esp, 0x80
push ebp
xor ebp, ebp
cmp eax, ebp
je 0x4607b1
cmp word [eax], bp
je 0x4607b1
push ebx
push esi
push edi
mov dword [esp + 0x58], 0xffffffff
mov dword [esp + 0x60], ebp
mov dword [esp + 0x64], ebp
mov dword [esp + 0x68], 0x1000
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x70], ebp
mov dword [esp + 0x74], ebp
mov dword [esp + 0x78], ebp
mov dword [esp + 0x80], ebp
mov dword [esp + 0x84], ebp
mov dword [esp + 0x88], ebp
push 0x80
push 3
push 1
push 0x80000000
push eax
lea eax, [esp + 0x6c]
mov dword [esp + 0xac], ebp
call fcn.00414624
test eax, eax
jne 0x45fb6b
mov eax, dword [esp + 0x84]
cmp eax, ebp
je 0x45fd93
push eax
jmp 0x45fd78
mov ebx, dword [esp + 0x84]
cmp ebx, ebp
je 0x45fb7f
mov eax, dword [esp + 0x80]
jmp 0x45fb88
lea esi, [esp + 0x58]
call fcn.00414473
cmp ebx, ebp
lea ecx, [ebx + eax]
mov dword [esp + 0x24], ecx
je 0x45fd93
cmp eax, 0x10
jb 0x45fd77
cmp dword [ebx], 0x4c425454
jne 0x45fd77
mov ecx, dword [ebx + 4]
cmp ecx, 4
jg 0x45fd77
mov eax, dword [ebx + 8]
cmp eax, ebp
je 0x45fbcf
cmp eax, 0xfde9
je 0x45fbcf
cmp eax, 0xffffffff
jne 0x45fd77
xor edx, edx
cmp ecx, 2
setge dl
lea edx, [edx*4 + 0xc]
add edx, ebx
cmp ecx, 2
mov dword [esp + 0x14], edx
jl 0x45fbf6
mov eax, dword [ebx + 0xc]
mov ecx, dword [esp + 0xa0]
mov dword [ecx + 0x1c], eax
mov edx, dword [0x4fdad8]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x24]
mov byte [esp + 0x98], 1
mov eax, dword [ebx + 8]
push eax
lea ecx, [esp + 0x30]
push ecx
lea esi, [esp + 0x1c]
call fcn.0045f970
mov esi, eax
mov eax, dword [esp + 0xa8]
add esp, 8
add eax, 0x10
lea edi, [esp + 0x2c]
call fcn.00403cc3
cmp esi, ebp
je 0x45fd6e
cmp dword [esp + 0xa8], ebp
je 0x45fd03
mov eax, edi
call fcn.00403ef9
push ebx
call dword [0x4dc2ec]
cmp dword [esp + 0x78], ebp
mov dword [esp + 0x84], ebp
mov dword [esp + 0x88], ebp
mov dword [esp + 0x80], ebp
je 0x45fc7d
lea esi, [esp + 0x58]
call fcn.0041458d
mov esi, dword [esp + 0x6c]
cmp esi, ebp
mov ebx, dword [0x4dc21c]
je 0x45fca4
push esi
push ebp
call dword [0x4dc230]
push eax
call ebx
xor esi, esi
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], ebp
mov dword [esp + 0x74], ebp
mov edi, dword [esp + 0x58]
cmp edi, 0xffffffff
je 0x45fcc7
push edi
call dword [0x4dc260]
or edi, 0xffffffff
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x60], ebp
mov dword [esp + 0x64], ebp
cmp dword [esp + 0x78], ebp
je 0x45fcde
lea esi, [esp + 0x58]
call fcn.0041458d
mov esi, dword [esp + 0x6c]
mov edi, dword [esp + 0x58]
cmp esi, ebp
je 0x45fced
push esi
push ebp
call dword [0x4dc230]
push eax
call ebx
cmp edi, 0xffffffff
je 0x45fcf9
push edi
call dword [0x4dc260]
mov eax, 1
jmp 0x45fe20
mov eax, dword [0x4fdad8]
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], eax
mov edi, dword [esp + 0x24]
mov byte [esp + 0x98], 3
cmp dword [ebx + 4], 3
jle 0x45fe3b
mov edx, dword [ebx + 8]
push edx
lea eax, [esp + 0x3c]
push eax
mov edx, edi
lea esi, [esp + 0x1c]
call fcn.0045f970
add esp, 8
test eax, eax
je 0x45fd5c
mov ecx, dword [ebx + 8]
push ecx
lea edx, [esp + 0x38]
push edx
mov edx, edi
call fcn.0045f970
add esp, 8
cmp eax, ebp
jne 0x45fe3b
lea eax, [esp + 0x34]
call fcn.00403ef9
lea eax, [esp + 0x38]
call fcn.00403ef9
lea eax, [esp + 0x2c]
call fcn.00403ef9
push ebx
call dword [0x4dc2ec]
mov dword [esp + 0x80], ebp
mov dword [esp + 0x84], ebp
mov dword [esp + 0x88], ebp
cmp dword [esp + 0x78], ebp
je 0x45fda2
lea esi, [esp + 0x58]
call fcn.0041458d
mov esi, dword [esp + 0x6c]
cmp esi, ebp
mov ebx, dword [0x4dc21c]
je 0x45fdc9
push esi
push ebp
call dword [0x4dc230]
push eax
call ebx
xor esi, esi
mov dword [esp + 0x74], ebp
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], ebp
mov edi, dword [esp + 0x58]
cmp edi, 0xffffffff
je 0x45fdec
push edi
call dword [0x4dc260]
or edi, 0xffffffff
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x60], ebp
mov dword [esp + 0x64], ebp
mov dword [esp + 0x58], edi
cmp dword [esp + 0x78], ebp
je 0x45fe03
lea esi, [esp + 0x58]
call fcn.0041458d
mov esi, dword [esp + 0x6c]
mov edi, dword [esp + 0x58]
cmp esi, ebp
je 0x45fe12
push esi
push ebp
call dword [0x4dc230]
push eax
call ebx
cmp edi, 0xffffffff
je 0x45fe1e
push edi
call dword [0x4dc260]
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
add esp, 0x8c
ret 0xc
mov eax, dword [0x500f7c]
mov ecx, dword [esp + 0x38]
mov esi, dword [0x4dc4c4]
push eax
push ecx
call esi
add esp, 8
test eax, eax
jne 0x45fe6a
mov edx, dword [0x500f80]
mov eax, dword [esp + 0x34]
push edx
push eax
call esi
add esp, 8
test eax, eax
je 0x45fe6f
mov eax, 1
mov ecx, dword [esp + 0xa0]
mov dword [ecx + 0x30], eax
cmp dword [esp + 0x14], edi
jae 0x46075d
mov edx, dword [0x4fdad8]
mov dword [esp + 0x1c], edx
mov eax, dword [esp + 0x84]
mov ecx, dword [eax + 8]
mov edi, dword [esp + 0x24]
push ecx
lea edx, [esp + 0x20]
push edx
mov edx, edi
lea esi, [esp + 0x1c]
call fcn.0045f970
add esp, 8
test eax, eax
je 0x46074c
mov eax, dword [esp + 0x1c]
cmp dword [eax - 8], ebp
je 0x46074c
lea ecx, [esp + 0x28]
push ecx
mov esi, edi
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], ebp
call fcn.0045f890
add esp, 4
test eax, eax
je 0x46074c
mov edx, dword [0x4fdad8]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x18], edx
mov ebx, dword [esp + 0x28]
test bl, 1
mov dword [esp + 0x3c], 0xfffffffe
je 0x45ff1b
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x18]
call fcn.0045f890
add esp, 4
test eax, eax
je 0x460743
and ebx, 2
je 0x45ff46
mov ecx, dword [esp + 0x84]
mov edx, dword [ecx + 8]
push edx
lea eax, [esp + 0x1c]
push eax
mov edx, edi
lea esi, [esp + 0x1c]
call fcn.0045f970
add esp, 8
test eax, eax
je 0x460743
test byte [esp + 0x28], 4
je 0x45ff68
lea ecx, [esp + 0x3c]
push ecx
mov esi, edi
lea ecx, [esp + 0x18]
call fcn.0045f8b0
add esp, 4
test eax, eax
je 0x460743
lea ecx, [esp + 0x1c]
lea esi, [esp + 0x20]
call fcn.00403c2a
mov byte [esp + 0x98], 6
mov edx, dword [esp + 0x3c]
movsx eax, word [esp + 0x30]
push edx
push eax
lea ecx, [esp + 0x50]
push ecx
push 0x500260
mov ecx, esi
call fcn.0045d8cd
mov byte [esp + 0x98], 7
mov edi, dword [esp + 0x48]
cmp edi, ebp
je 0x46073a
cmp bx, bp
je 0x4600a1
mov eax, dword [edi + 8]
cmp eax, dword [esp + 0x18]
je 0x4600a1
lea ebx, [eax - 0xc]
cmp dword [ebx], ebp
mov eax, dword [0x4fdadc]
jge 0x45ffd3
cmp ebx, eax
jne 0x45ffe5
mov esi, dword [esp + 0x18]
mov ecx, dword [esi - 0xc]
add esi, 0xfffffff4
cmp ecx, ebp
jge 0x460071
cmp dword [ebx], 1
mov edx, dword [esp + 0x18]
mov esi, dword [edx - 8]
jg 0x45fff6
cmp esi, dword [ebx + 8]
jle 0x46004d
cmp ebx, eax
je 0x46001c
push ebx
call dword [0x4dc1d4]
test eax, eax
jg 0x46000f
push ebx
call dword [0x4dc4e4]
add esp, 4
mov eax, dword [0x4fdad8]
mov dword [edi + 8], eax
mov eax, dword [0x4fdadc]
cmp esi, ebp
je 0x460043
lea eax, [esi + esi + 0xe]
push eax
call dword [0x4dc4e0]
add esp, 4
cmp eax, ebp
je 0x4600a1
mov dword [eax], 1
mov dword [eax + 4], esi
mov dword [eax + 8], esi
mov word [eax + esi*2 + 0xc], bp
cmp eax, ebp
je 0x4600a1
add eax, 0xc
mov dword [edi + 8], eax
mov ecx, dword [esp + 0x18]
mov edx, dword [edi + 8]
lea ebx, [esi + esi]
push ebx
push ecx
push edx
call fcn.004d33c0
mov eax, dword [edi + 8]
mov dword [eax - 8], esi
mov ecx, dword [edi + 8]
add esp, 0xc
mov word [ebx + ecx], bp
jmp 0x4600a1
cmp ebx, eax
je 0x460093
push ebx
call dword [0x4dc1d4]
test eax, eax
jg 0x46008a
push ebx
call dword [0x4dc4e4]
add esp, 4
mov edx, dword [0x4fdad8]
mov dword [edi + 8], edx
mov eax, dword [esp + 0x18]
push esi
mov dword [edi + 8], eax
call dword [0x4dc1d0]
test byte [esp + 0x28], 8
mov ebx, dword [esp + 0x24]
je 0x4600d2
lea ecx, [esp + 0x3c]
push ecx
mov esi, ebx
lea ecx, [esp + 0x18]
mov dword [esp + 0x40], ebp
call fcn.0045f8b0
add esp, 4
test eax, eax
je 0x460346
mov edx, dword [esp + 0x3c]
mov dword [edi + 0x24], edx
test byte [esp + 0x28], 0x10
je 0x46016f
mov eax, dword [0x4fdad8]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x84]
mov edx, dword [ecx + 8]
push edx
lea eax, [esp + 0x34]
push eax
mov edx, ebx
lea esi, [esp + 0x1c]
call fcn.0045f970
add esp, 8
test eax, eax
je 0x460492
mov ecx, dword [esp + 0x30]
push ecx
push edi
call fcn.0045d706
lea edx, [esp + 0x4c]
push edx
mov edx, ebx
mov dword [esp + 0x50], ebp
mov word [esp + 0x54], bp
mov word [esp + 0x56], bp
mov dword [esp + 0x58], ebp
call fcn.0045f8d0
add esp, 4
test eax, eax
je 0x4605a6
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x52]
mov edx, dword [esp + 0x50]
mov esi, dword [esp + 0x4c]
mov dword [edi + 0x20], eax
lea eax, [esp + 0x30]
mov dword [edi + 0x1c], esi
mov word [edi + 0x14], dx
mov word [edi + 0x16], cx
mov byte [esp + 0x98], 7
call fcn.00403ef9
test byte [esp + 0x28], 0x20
je 0x460253
lea eax, [esp + 0x3c]
push eax
mov esi, ebx
lea ecx, [esp + 0x18]
mov dword [esp + 0x40], ebp
call fcn.0045f890
add esp, 4
test eax, eax
je 0x460685
movsx eax, word [esp + 0x3c]
cmp eax, ebp
mov dword [esp + 0x40], ebp
jle 0x46024b
mov ebp, dword [esp + 0x24]
mov dword [esp + 0x44], eax
mov eax, dword [0x4fdad8]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x30], eax
lea ecx, [esp + 0x3c]
push ecx
mov edx, ebp
lea ebx, [esp + 0x18]
mov byte [esp + 0x9c], 0x23
call fcn.0045f900
mov edx, dword [esp + 0x88]
mov eax, dword [edx + 8]
push eax
lea ecx, [esp + 0x38]
push ecx
mov edx, ebp
mov esi, ebx
call fcn.0045f970
mov edx, dword [esp + 0x48]
mov eax, dword [edx - 8]
add esp, 0xc
test eax, eax
je 0x460223
mov eax, dword [esp + 0x30]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x460223
mov esi, dword [esp + 0x40]
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x40]
push edx
push esi
push edi
call fcn.00414ce1
inc esi
mov dword [esp + 0x40], esi
lea eax, [esp + 0x30]
call fcn.00403ef9
lea eax, [esp + 0x3c]
mov byte [esp + 0x98], 7
call fcn.00403ef9
dec dword [esp + 0x44]
jne 0x4601b2
mov ebx, dword [esp + 0x24]
push edi
call fcn.0045d72e
xor ebp, ebp
test byte [esp + 0x28], 0x40
je 0x460289
lea eax, [esp + 0x44]
push eax
mov esi, ebx
lea ecx, [esp + 0x18]
mov dword [esp + 0x48], ebp
call fcn.0045f8b0
add esp, 4
test eax, eax
je 0x460719
mov ebx, dword [esp + 0x44]
push ebp
call fcn.00497d6c
mov ebx, dword [esp + 0x24]
xor ebp, ebp
mov al, byte [esp + 0x28]
test al, al
jns 0x4602b9
lea ecx, [esp + 0x13]
push ecx
mov esi, ebx
lea ecx, [esp + 0x18]
mov byte [esp + 0x17], 0
call fcn.0045f870
add esp, 4
test eax, eax
je 0x460719
movzx eax, byte [esp + 0x13]
mov dword [edi + 0x30], eax
cmp dword [0x500f68], ebp
je 0x4602e2
push 0x4e1178
xor ecx, ecx
lea esi, [esp + 0x24]
call fcn.0041153b
test eax, eax
jg 0x4602e2
mov eax, dword [esp + 0x20]
call fcn.00404b4a
test eax, eax
je 0x4602f3
mov eax, dword [esp + 0xa0]
lea edx, [esp + 0x48]
push edx
call fcn.0045c6dc
push edi
mov byte [esp + 0x9c], 6
call dword [0x4dc1d4]
cmp eax, ebp
jne 0x460314
call fcn.00405394
push edi
call fcn.004d350a
add esp, 4
lea eax, [esp + 0x20]
call fcn.00403ef9
lea eax, [esp + 0x18]
call fcn.00403ef9
lea eax, [esp + 0x1c]
mov byte [esp + 0x98], 3
call fcn.00403ef9
cmp dword [esp + 0x14], ebx
jb 0x45fe83
jmp 0x46075d
push edi
call dword [0x4dc1d4]
cmp eax, ebp
jne 0x46073a
mov dword [esp + 0x48], edi
mov byte [esp + 0x98], 0x11
mov eax, dword [edi + 0x50]
cmp eax, ebp
je 0x46036e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [edi + 0x40]
cmp eax, ebp
mov dword [esp + 0x48], eax
je 0x4603f7
mov eax, dword [edi + 0x44]
xor ebx, ebx
cmp eax, ebp
mov dword [esp + 0x44], eax
jbe 0x4603ea
lea ebx, [ebx]
mov edx, dword [esp + 0x48]
mov esi, dword [edx + ebx*8 + 4]
mov eax, dword [0x4fdadc]
sub esi, 0xc
cmp esi, eax
je 0x4603b9
push esi
call dword [0x4dc1d4]
test eax, eax
jg 0x4603b9
push esi
call dword [0x4dc4e4]
add esp, 4
mov eax, dword [esp + 0x48]
mov esi, dword [eax + ebx*8]
mov eax, dword [0x4fdadc]
sub esi, 0xc
cmp esi, eax
je 0x4603e1
push esi
call dword [0x4dc1d4]
test eax, eax
jg 0x4603e1
push esi
call dword [0x4dc4e4]
add esp, 4
mov eax, dword [esp + 0x44]
inc ebx
cmp ebx, eax
jb 0x460390
mov ecx, dword [edi + 0x40]
push ecx
call dword [0x4dc4e4]
add esp, 4
mov esi, dword [edi + 0x38]
mov eax, dword [0x4fdadc]
sub esi, 0xc
cmp esi, eax
je 0x46041f
push esi
call dword [0x4dc1d4]
test eax, eax
mov ebx, dword [0x4dc4e4]
jg 0x460425
push esi
call ebx
add esp, 4
jmp 0x460425
mov ebx, dword [0x4dc4e4]
mov esi, dword [edi + 0x10]
mov eax, dword [0x4fdadc]
sub esi, 0xc
cmp esi, eax
je 0x460445
push esi
call dword [0x4dc1d4]
test eax, eax
jg 0x460445
push esi
call ebx
add esp, 4
mov esi, dword [edi + 0xc]
mov eax, dword [0x4fdadc]
sub esi, 0xc
cmp esi, eax
je 0x460465
push esi
call dword [0x4dc1d4]
test eax, eax
jg 0x460465
push esi
call ebx
add esp, 4
mov esi, dword [edi + 8]
mov eax, dword [0x4fdadc]
sub esi, 0xc
cmp esi, eax
je 0x460731
push esi
call dword [0x4dc1d4]
test eax, eax
jg 0x460731
push esi
call ebx
add esp, 4
jmp 0x460731
lea eax, [esp + 0x30]
call fcn.00403ef9
push edi
call dword [0x4dc1d4]
cmp eax, ebp
jne 0x46073a
mov dword [esp + 0x48], edi
mov byte [esp + 0x98], 0x17
mov eax, dword [edi + 0x50]
cmp eax, ebp
je 0x4604c3
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov ebp, dword [edi + 0x40]
test ebp, ebp
je 0x460650
mov eax, dword [edi + 0x44]
xor ebx, ebx
test eax, eax
mov dword [esp + 0x48], eax
jbe 0x460533
jmp 0x4604e0
mov esi, dword [ebp + ebx*8 + 4]
mov eax, dword [0x4fdadc]
sub esi, 0xc
cmp esi, eax
je 0x460505
push esi
call dword [0x4dc1d4]
test eax, eax
jg 0x460505
push esi
call dword [0x4dc4e4]
add esp, 4
mov esi, dword [ebp + ebx*8]
mov eax, dword [0x4fdadc]
sub esi, 0xc
cmp esi, eax
je 0x46052a
push esi
call dword [0x4dc1d4]
test eax, eax
jg 0x46052a
push esi
call dword [0x4dc4e4]
add esp, 4
mov eax, dword [esp + 0x48]
inc ebx
cmp ebx, eax
jb 0x4604e0
mov eax, dword [edi + 0x40]
push eax
jmp 0x460647
mov ebx, dword [0x4dc4e4]
mov esi, dword [edi + 0x10]
mov eax, dword [0x4fdadc]
sub esi, 0xc
cmp esi, eax
je 0x46055e
push esi
call ebp
test eax, eax
jg 0x46055e
push esi
call ebx
add esp, 4
mov esi, dword [edi + 0xc]
mov eax, dword [0x4fdadc]
sub esi, 0xc
cmp esi, eax
je 0x46057a
push esi
call ebp
test eax, eax
jg 0x46057a
push esi
call ebx
add esp, 4
mov esi, dword [edi + 8]
mov eax, dword [0x4fdadc]
sub esi, 0xc
cmp esi, eax
je 0x460596
push esi
call ebp
test eax, eax
jg 0x460596
push esi
call ebx
add esp, 4
push edi
call fcn.004d350a
add esp, 4
xor ebp, ebp
jmp 0x46073a
lea eax, [esp + 0x30]
call fcn.00403ef9
push edi
call dword [0x4dc1d4]
cmp eax, ebp
jne 0x46073a
mov dword [esp + 0x48], edi
mov byte [esp + 0x98], 0x1c
mov eax, dword [edi + 0x50]
cmp eax, ebp
je 0x4605d7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ebp, dword [edi + 0x40]
test ebp, ebp
je 0x460650
mov eax, dword [edi + 0x44]
xor ebx, ebx
test eax, eax
mov dword [esp + 0x48], eax
jbe 0x460643
jmp 0x4605f0
mov esi, dword [ebp + ebx*8 + 4]
mov eax, dword [0x4fdadc]
sub esi, 0xc
cmp esi, eax
je 0x460615
push esi
call dword [0x4dc1d4]
test eax, eax
jg 0x460615
push esi
call dword [0x4dc4e4]
add esp, 4
mov esi, dword [ebp + ebx*8]
mov eax, dword [0x4fdadc]
sub esi, 0xc
cmp esi, eax
je 0x46063a
push esi
call dword [0x4dc1d4]
test eax, eax
jg 0x46063a
push esi
call dword [0x4dc4e4]
add esp, 4
mov eax, dword [esp + 0x48]
inc ebx
cmp ebx, eax
jb 0x4605f0
mov edx, dword [edi + 0x40]
push edx
call dword [0x4dc4e4]
add esp, 4
mov esi, dword [edi + 0x38]
mov eax, dword [0x4fdadc]
mov ebp, dword [0x4dc1d4]
sub esi, 0xc
cmp esi, eax
je 0x46053c
push esi
call ebp
test eax, eax
mov ebx, dword [0x4dc4e4]
jg 0x460542
push esi
call ebx
add esp, 4
jmp 0x460542
push edi
call dword [0x4dc1d4]
cmp eax, ebp
jne 0x46073a
mov dword [esp + 0x48], edi
mov byte [esp + 0x98], 0x21
mov eax, dword [edi + 0x50]
cmp eax, ebp
je 0x4606ad
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ebp, dword [edi + 0x40]
test ebp, ebp
je 0x460650
mov eax, dword [edi + 0x44]
xor ebx, ebx
test eax, eax
mov dword [esp + 0x48], eax
jbe 0x460643
mov esi, dword [ebp + ebx*8 + 4]
mov eax, dword [0x4fdadc]
sub esi, 0xc
cmp esi, eax
je 0x4606e6
push esi
call dword [0x4dc1d4]
test eax, eax
jg 0x4606e6
push esi
call dword [0x4dc4e4]
add esp, 4
mov esi, dword [ebp + ebx*8]
mov eax, dword [0x4fdadc]
sub esi, 0xc
cmp esi, eax
je 0x46070b
push esi
call dword [0x4dc1d4]
test eax, eax
jg 0x46070b
push esi
call dword [0x4dc4e4]
add esp, 4
mov eax, dword [esp + 0x48]
inc ebx
cmp ebx, eax
jb 0x4606c1
jmp 0x460643
push edi
mov byte [esp + 0x9c], 6
call dword [0x4dc1d4]
cmp eax, ebp
jne 0x46073a
call fcn.00405394
push edi
call fcn.004d350a
add esp, 4
lea eax, [esp + 0x20]
call fcn.00403ef9
lea eax, [esp + 0x18]
call fcn.00403ef9
lea eax, [esp + 0x1c]
mov byte [esp + 0x98], 3
call fcn.00403ef9
mov ecx, dword [0x501000]
mov esi, dword [esp + 0xa0]
xor eax, eax
cmp ecx, ebp
sete al
push eax
push esi
call fcn.0045e2ac
call fcn.0045c724
mov esi, dword [esi + 4]
lea eax, [esp + 0x34]
call fcn.00403ef9
lea eax, [esp + 0x38]
call fcn.00403ef9
lea eax, [esp + 0x2c]
call fcn.00403ef9
lea eax, [esp + 0x58]
call fcn.00414614
xor ecx, ecx
cmp ecx, esi
sbb eax, eax
neg eax
jmp 0x45fe20
mov ecx, dword [esp + 0x84]
xor eax, eax
pop ebp
mov dword fs:[0], ecx
add esp, 0x8c
ret 0xc