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

Disassembly:
push 0xffffffffffffffff
push 0x4a938e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x280
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x54], edi
call fcn.00433640
mov eax, dword [edi + 0x20]
lea ecx, [edi + 0x20]
lea edx, [esp + 0x44]
xor ebx, ebx
push edx
mov dword [esp + 0x29c], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
call dword [eax + 0x30]
mov esi, dword [edi + 4]
mov eax, dword [0x4c0818]
add edi, 0xc0
cmp eax, ebx
mov dword [esp + 0x3c], edi
jne 0x414fb1
mov dword [0x4c0818], ebx
lea eax, [edi + 0x1c]
push eax
push 0x4c07e8
push 0x4ce730
call fcn.00415d30
push ebx
push eax
push 0x82
push ebx
push 0x50000000
lea ecx, [esp + 0x58]
push 0x4c07c0
push ecx
push esi
mov ecx, edi
call fcn.00416a20
cmp eax, ebx
jne 0x415002
lea ecx, [esp + 0x1c]
mov dword [esp + 0x298], 0xffffffff
call fcn.00433660
xor eax, eax
jmp 0x415a1d
mov edx, dword [esp + 0x44]
mov esi, dword [esp + 0x4c]
sub esi, edx
push ebx
lea ecx, [esp + 0x48]
mov dword [esp + 0x50], esi
mov dword [esp + 0x48], ebx
call fcn.00415e90
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x30], eax
add eax, 0x14
mov dword [esp + 0x38], edx
mov ecx, 0x4ce6c0
mov dword [esp + 0x38], eax
call fcn.00401310
mov ecx, eax
mov dword [esp + 0x7c], eax
call fcn.00416db0
mov ebp, eax
cmp ebp, ebx
mov dword [esp + 0x5c], ebp
jg 0x41507f
lea ecx, [esp + 0x1c]
mov dword [esp + 0x298], 0xffffffff
call fcn.00433660
xor eax, eax
jmp 0x415a1d
mov eax, dword [0x4bf080]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
cmp ebp, ebx
mov byte [esp + 0x298], 2
mov dword [esp + 0x40], ebx
mov dword [esp + 0x60], ebx
jle 0x41539c
mov bl, 3
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x7c]
push eax
call fcn.004171d0
mov edi, eax
test edi, edi
je 0x41538b
mov ecx, edi
call fcn.0040f5c0
test eax, eax
mov ecx, edi
jne 0x41531f
call fcn.0040f5d0
add eax, 8
mov eax, dword [eax]
push eax
mov ecx, dword [eax - 8]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00404450
mov edx, dword [0x4bf080]
mov dword [esp + 0x10], edx
mov eax, dword [0x4ce6b8]
lea ecx, [esp + 0x90]
push 0x100
push ecx
mov eax, dword [eax + 8]
push 0xbd
push eax
mov byte [esp + 0x2a8], bl
call dword [0x4ae5e0]
test eax, eax
jne 0x415125
mov word [esp + 0x90], ax
mov edx, 0x100
sub edx, eax
cmp edx, 1
jle 0x415144
lea eax, [esp + 0x90]
lea ecx, [esp + 0x10]
push eax
call fcn.004038d0
jmp 0x415192
push 0x1ff
lea ecx, [esp + 0x14]
mov esi, 0x200
call fcn.00404170
test eax, eax
je 0x415187
push esi
push eax
push 0xbd
call fcn.00404740
mov ecx, esi
sub ecx, eax
cmp ecx, 1
jg 0x415187
add esi, 0x100
lea ecx, [esp + 0x10]
lea edx, [esi - 1]
push edx
call fcn.00404170
test eax, eax
jne 0x41515b
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.00404230
mov ecx, edi
call fcn.00410cc0
dec eax
je 0x41523d
dec eax
je 0x4151ba
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
mov eax, dword [eax - 8]
push eax
call fcn.00404450
jmp 0x4152bb
mov ecx, 0x4c078c
test ecx, ecx
jne 0x4151c7
xor eax, eax
jmp 0x4151d2
push 0x4c078c
call dword [0x4ae208]
push 0x4c078c
push eax
lea ecx, [esp + 0x1c]
call fcn.00404450
lea edx, [esp + 0x64]
mov ecx, edi
push edx
call fcn.0040ff90
mov eax, dword [eax]
push 0
push eax
push 0x16
mov ecx, 0x4ce6c0
mov byte [esp + 0x2a4], 5
call fcn.004032b0
mov eax, dword [esp + 0x64]
mov edx, dword [0x4bf084]
mov byte [esp + 0x298], bl
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4152bb
add eax, 0xfffffff4
push eax
call dword [0x4ae20c]
test eax, eax
jg 0x4152bb
mov edx, dword [esp + 0x64]
lea eax, [edx - 0xc]
jmp 0x4152b2
mov eax, 0x4c0770
test eax, eax
je 0x415251
push 0x4c0770
call dword [0x4ae208]
push 0x4c0770
push eax
lea ecx, [esp + 0x1c]
call fcn.00404450
lea ecx, [esp + 0x68]
push ecx
mov ecx, edi
call fcn.0040ff90
mov eax, dword [eax]
push 0
push eax
push 0x15
mov ecx, 0x4ce6c0
mov byte [esp + 0x2a4], 4
call fcn.004032b0
mov eax, dword [esp + 0x68]
mov ecx, dword [0x4bf084]
mov byte [esp + 0x298], bl
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x4152bb
add eax, 0xfffffff4
push eax
call dword [0x4ae20c]
test eax, eax
jg 0x4152bb
mov eax, dword [esp + 0x68]
add eax, 0xfffffff4
push eax
call fcn.0049b190
add esp, 4
mov ecx, 0x4c0768
test ecx, ecx
jne 0x4152c8
xor eax, eax
jmp 0x4152d3
push 0x4c0768
call dword [0x4ae208]
push 0x4c0768
push eax
lea ecx, [esp + 0x1c]
call fcn.00404450
mov eax, dword [esp + 0x10]
mov ecx, dword [0x4bf084]
mov byte [esp + 0x298], 2
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x41538b
add eax, 0xfffffff4
push eax
call dword [0x4ae20c]
test eax, eax
jg 0x41538b
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.0049b190
add esp, 4
jmp 0x41538b
call fcn.0040f5f0
test eax, eax
je 0x41538b
mov ecx, edi
mov dword [esp + 0x40], 1
call fcn.0040f5d0
mov ecx, dword [esp + 0x18]
mov esi, eax
mov eax, dword [esi + 8]
add esi, 8
cmp ecx, eax
je 0x41538b
mov edx, dword [ecx - 0xc]
test edx, edx
jge 0x41535b
mov edx, dword [0x4bf084]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x415362
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x415372
mov ecx, dword [eax - 8]
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.00404390
jmp 0x41538b
lea ecx, [esp + 0x18]
call fcn.004046d0
mov esi, dword [esi]
mov dword [esp + 0x18], esi
add esi, 0xfffffff4
push esi
call dword [0x4ae204]
mov eax, dword [esp + 0x60]
inc eax
cmp eax, ebp
mov dword [esp + 0x60], eax
jl 0x4150a6
mov edx, dword [esp + 0x14]
mov edi, dword [0x4ae694]
mov eax, dword [edx - 8]
test eax, eax
je 0x415517
mov eax, dword [esp + 0x54]
lea ecx, [esp + 0x90]
push 0x100
push ecx
push 0xbe
mov dword [eax + 0x7c], 0xbf
call fcn.00404740
mov edx, 0x100
sub edx, eax
cmp edx, 1
jle 0x41540c
lea eax, [esp + 0x90]
test eax, eax
je 0x4153f8
lea ecx, [esp + 0x90]
push ecx
call dword [0x4ae208]
lea edx, [esp + 0x90]
lea ecx, [esp + 0x20]
push edx
push eax
call fcn.00404390
jmp 0x41545a
push 0x1ff
lea ecx, [esp + 0x24]
mov esi, 0x200
call fcn.00404170
test eax, eax
je 0x41544f
push esi
push eax
push 0xbe
call fcn.00404740
mov ecx, esi
sub ecx, eax
cmp ecx, 1
jg 0x41544f
add esi, 0x100
lea ecx, [esp + 0x20]
lea edx, [esi - 1]
push edx
call fcn.00404170
test eax, eax
jne 0x415423
push 0xffffffffffffffff
lea ecx, [esp + 0x24]
call fcn.00404230
mov esi, dword [esp + 0x3c]
push 1
push 1
lea eax, [esp + 0x34]
push 0
lea ecx, [esp + 0x28]
push eax
push ecx
mov ecx, esi
call fcn.00422b10
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x30]
sub eax, edx
lea edx, [esp + 0x2c]
push eax
push 0
push edx
call edi
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x38]
add eax, 0x14
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x74], edx
cmp eax, ecx
je 0x415502
mov edx, dword [eax - 0xc]
test edx, edx
jge 0x4154d0
mov edx, dword [0x4bf084]
add eax, 0xfffffff4
cmp eax, edx
jne 0x4154d7
mov eax, dword [ecx - 0xc]
test eax, eax
jge 0x4154e7
mov edx, dword [ecx - 8]
push ecx
push edx
lea ecx, [esp + 0x28]
call fcn.00404390
jmp 0x415502
lea ecx, [esp + 0x20]
call fcn.004046d0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], eax
add eax, 0xfffffff4
push eax
call dword [0x4ae204]
push 1
push 1
lea eax, [esp + 0x74]
push 0
lea ecx, [esp + 0x28]
push eax
push ecx
jmp 0x4155cd
lea edx, [esp + 0x90]
push 0x100
push edx
push 0x9c
call fcn.00404740
mov ecx, 0x100
sub ecx, eax
cmp ecx, 1
jle 0x41556b
lea edx, [esp + 0x90]
test edx, edx
jne 0x415549
xor eax, eax
jmp 0x415557
lea eax, [esp + 0x90]
push eax
call dword [0x4ae208]
lea ecx, [esp + 0x90]
push ecx
push eax
lea ecx, [esp + 0x28]
call fcn.00404390
jmp 0x4155b9
push 0x1ff
lea ecx, [esp + 0x24]
mov esi, 0x200
call fcn.00404170
test eax, eax
je 0x4155ae
push esi
push eax
push 0x9c
call fcn.00404740
mov edx, esi
sub edx, eax
cmp edx, 1
jg 0x4155ae
add esi, 0x100
lea ecx, [esp + 0x20]
lea eax, [esi - 1]
push eax
call fcn.00404170
test eax, eax
jne 0x415582
push 0xffffffffffffffff
lea ecx, [esp + 0x24]
call fcn.00404230
mov esi, dword [esp + 0x3c]
push 1
push 1
lea ecx, [esp + 0x34]
push 0
lea edx, [esp + 0x28]
push ecx
push edx
mov ecx, esi
call fcn.00422b10
mov eax, dword [esp + 0x18]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x415783
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x30]
sub eax, ecx
lea ecx, [esp + 0x2c]
push eax
push 0
push ecx
call edi
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], edx
mov edx, dword [0x4bf080]
add eax, 0x14
add ecx, 0x14
mov dword [esp + 0x6c], eax
mov dword [esp + 0x78], ecx
mov dword [esp + 0x10], edx
lea eax, [esp + 0x90]
push 0x100
push eax
push 0x9d
mov byte [esp + 0x2a4], 6
call fcn.00404740
mov ecx, 0x100
sub ecx, eax
cmp ecx, 1
jle 0x415687
lea edx, [esp + 0x90]
test edx, edx
jne 0x415665
xor eax, eax
jmp 0x415673
lea eax, [esp + 0x90]
push eax
call dword [0x4ae208]
lea ecx, [esp + 0x90]
push ecx
push eax
lea ecx, [esp + 0x18]
call fcn.00404390
jmp 0x4156d9
push 0x1ff
lea ecx, [esp + 0x14]
mov esi, 0x200
call fcn.00404170
test eax, eax
je 0x4156ca
push esi
push eax
push 0x9d
call fcn.00404740
mov edx, esi
sub edx, eax
cmp edx, 1
jg 0x4156ca
add esi, 0x100
lea ecx, [esp + 0x10]
lea eax, [esi - 1]
push eax
call fcn.00404170
test eax, eax
jne 0x41569e
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.00404230
mov esi, dword [esp + 0x3c]
mov eax, dword [esp + 0x10]
push eax
mov ecx, dword [eax - 8]
push ecx
lea ecx, [esp + 0x20]
call fcn.00404450
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
cmp eax, ecx
je 0x41573d
mov edx, dword [eax - 0xc]
test edx, edx
jge 0x41570b
mov edx, dword [0x4bf084]
add eax, 0xfffffff4
cmp eax, edx
jne 0x415712
mov eax, dword [ecx - 0xc]
test eax, eax
jge 0x415722
mov edx, dword [ecx - 8]
push ecx
push edx
lea ecx, [esp + 0x28]
call fcn.00404390
jmp 0x41573d
lea ecx, [esp + 0x20]
call fcn.004046d0
mov eax, dword [esp + 0x18]
mov dword [esp + 0x20], eax
add eax, 0xfffffff4
push eax
call dword [0x4ae204]
push 1
push 1
lea eax, [esp + 0x74]
push 0x30
lea ecx, [esp + 0x28]
push eax
push ecx
mov ecx, esi
call fcn.00422b10
mov eax, dword [esp + 0x10]
mov ecx, dword [0x4bf084]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x415783
add eax, 0xfffffff4
push eax
call dword [0x4ae20c]
test eax, eax
jg 0x415783
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.0049b190
add esp, 4
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x44]
add eax, 0x50
mov dword [esp + 0x88], edx
mov edx, dword [esp + 0x50]
mov dword [esp + 0x84], eax
mov dword [esp + 0x80], ecx
add eax, 0x14
mov dword [esp + 0x8c], edx
add ecx, 0xa
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x80], ecx
add ecx, 0xc8
test eax, eax
mov dword [esp + 0x88], ecx
je 0x4158bd
mov eax, dword [0x4bf080]
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x90]
push 0x100
push ecx
push 0x9e
mov byte [esp + 0x2a4], 7
call fcn.00404740
mov edx, 0x100
sub edx, eax
cmp edx, 1
jle 0x415826
lea eax, [esp + 0x90]
lea ecx, [esp + 0x10]
push eax
call fcn.004038d0
jmp 0x415874
push 0x1ff
lea ecx, [esp + 0x14]
mov esi, 0x200
call fcn.00404170
test eax, eax
je 0x415869
push esi
push eax
push 0x9e
call fcn.00404740
mov ecx, esi
sub ecx, eax
cmp ecx, 1
jg 0x415869
add esi, 0x100
lea ecx, [esp + 0x10]
lea edx, [esi - 1]
push edx
call fcn.00404170
test eax, eax
jne 0x41583d
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.00404230
lea eax, [esp + 0x10]
push 0
lea ecx, [esp + 0x84]
push eax
push ecx
mov ecx, dword [esp + 0x60]
push 0x7e
call fcn.00415a40
mov eax, dword [esp + 0x10]
mov ecx, dword [0x4bf084]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x4158bd
add eax, 0xfffffff4
push eax
call dword [0x4ae20c]
test eax, eax
jg 0x4158bd
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.0049b190
add esp, 4
mov ecx, dword [0x4bf080]
xor ebp, ebp
mov dword [esp + 0x58], ecx
mov eax, dword [esp + 0x5c]
xor edi, edi
test eax, eax
mov byte [esp + 0x298], 8
jle 0x4159ac
mov bl, 9
mov ecx, dword [esp + 0x7c]
push edi
call fcn.004171d0
mov esi, eax
test esi, esi
je 0x41599f
mov ecx, esi
call fcn.0040f5c0
test eax, eax
je 0x41599f
push 0x14
lea edx, [esp + 0x84]
push 0
push edx
call dword [0x4ae694]
mov ecx, esi
call fcn.0040f5d0
mov eax, dword [eax + 8]
lea ecx, [esp + 0x58]
push eax
push 0x9f
push ecx
call fcn.004054e0
add esp, 0xc
mov ecx, esi
call fcn.0040f760
test eax, eax
je 0x41599f
lea edx, [esp + 0x40]
mov ecx, esi
push edx
call fcn.0040ff90
mov eax, dword [eax]
push 0
push eax
push 0x26
mov ecx, 0x4ce6c0
mov byte [esp + 0x2a4], bl
call fcn.004032b0
lea ecx, [esp + 0x40]
mov byte [esp + 0x298], 8
call fcn.00404300
mov ecx, esi
inc ebp
call fcn.0040f5d0
mov eax, dword [eax + 0x94]
lea ecx, [esp + 0x58]
push eax
lea edx, [esp + 0x84]
push ecx
mov ecx, dword [esp + 0x5c]
lea eax, [edi + 0x2968]
push edx
push eax
call fcn.00415a40
mov eax, dword [esp + 0x5c]
inc edi
cmp edi, eax
jl 0x4158e1
mov eax, dword [esp + 0x5c]
push 0
cmp ebp, eax
push 0
jne 0x4159bc
push 0x10
jmp 0x4159be
push 0x11
mov ecx, 0x4ce6c0
call fcn.004032b0
mov ecx, dword [esp + 0x3c]
call fcn.004221b0
lea ecx, [esp + 0x58]
mov byte [esp + 0x298], 2
call fcn.00404300
lea ecx, [esp + 0x14]
mov byte [esp + 0x298], 1
call fcn.00404300
lea ecx, [esp + 0x18]
mov byte [esp + 0x298], 0
call fcn.00404300
lea ecx, [esp + 0x1c]
mov dword [esp + 0x298], 0xffffffff
call fcn.00433660
mov eax, 1
mov ecx, dword [esp + 0x290]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x28c
ret