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

Disassembly:
push 0xffffffffffffffff
push 0x4a66cd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x278
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x54], edi
call fcn.00430cc0
mov eax, dword [edi + 0x20]
lea ecx, [edi + 0x20]
lea edx, [esp + 0x40]
xor ebx, ebx
push edx
mov dword [esp + 0x290], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
call dword [eax + 0x30]
mov esi, dword [edi + 4]
add edi, 0xc0
mov dword [esp + 0x50], edi
call fcn.00414b50
cmp dword [eax + 0x30], ebx
jne 0x414173
call fcn.00414b50
mov dword [eax + 0x30], ebx
call fcn.00414b50
lea ecx, [edi + 0x1c]
push ecx
push eax
push 0x4cb5b0
call fcn.00414ea0
push ebx
push eax
push 0x82
push ebx
push 0x50000000
lea edx, [esp + 0x54]
push 0x4bd674
push edx
push esi
mov ecx, edi
call fcn.00415b90
cmp eax, ebx
jne 0x4141c5
lea ecx, [esp + 0x18]
mov dword [esp + 0x28c], 0xffffffff
call fcn.00430ce0
xor eax, eax
jmp 0x414b2e
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x48]
sub edx, eax
push ebx
lea ecx, [esp + 0x44]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x44], ebx
call fcn.00415000
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], ecx
add eax, 0x14
mov ecx, 0x4cb540
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], eax
call fcn.00401310
mov esi, eax
mov ecx, esi
mov dword [esp + 0x70], esi
call fcn.00415f20
mov ecx, eax
cmp ecx, ebx
mov dword [esp + 0x3c], ecx
jg 0x414244
lea ecx, [esp + 0x18]
mov dword [esp + 0x28c], 0xffffffff
call fcn.00430ce0
xor eax, eax
jmp 0x414b2e
mov eax, dword [0x4bc080]
push ebp
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
xor ebp, ebp
xor eax, eax
cmp ecx, ebx
mov byte [esp + 0x290], 2
mov dword [esp + 0x60], ebx
mov dword [esp + 0x5c], eax
jle 0x4144ca
jmp 0x414274
mov esi, dword [esp + 0x74]
push eax
mov ecx, esi
call fcn.00416340
mov edi, eax
cmp edi, ebx
je 0x4144b5
mov ecx, edi
call fcn.0040e6e0
test eax, eax
mov ecx, edi
jne 0x41444d
call fcn.0040e6f0
add eax, 8
lea ecx, [esp + 0x14]
mov eax, dword [eax]
push eax
mov edx, dword [eax - 8]
push edx
call fcn.00403cf0
mov eax, dword [0x4bc080]
mov dword [esp + 0x10], eax
mov ecx, dword [0x4cb538]
lea edx, [esp + 0x88]
push 0x100
push edx
mov eax, dword [ecx + 8]
push 0xbd
push eax
mov byte [esp + 0x2a0], 3
call dword [0x4ab69c]
cmp eax, ebx
jne 0x4142ee
mov word [esp + 0x88], bx
mov ecx, 0x100
sub ecx, eax
cmp ecx, 1
jle 0x41430d
lea edx, [esp + 0x88]
lea ecx, [esp + 0x10]
push edx
call fcn.00403510
jmp 0x41435b
push 0x1ff
lea ecx, [esp + 0x14]
mov esi, 0x200
call fcn.00403a10
cmp eax, ebx
je 0x414350
push esi
push eax
push 0xbd
call fcn.00403f30
mov ecx, esi
sub ecx, eax
cmp ecx, 1
jg 0x414350
add esi, 0x100
lea ecx, [esp + 0x10]
lea edx, [esi - 1]
push edx
call fcn.00403a10
cmp eax, ebx
jne 0x414324
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.00403ad0
mov ecx, edi
call fcn.0040fc70
dec eax
je 0x4143b1
dec eax
je 0x414382
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
mov eax, dword [eax - 8]
push eax
call fcn.00403cf0
cmp ebp, ebx
jne 0x4143ed
push 0x14
jmp 0x4143de
mov ecx, 0x4bd640
test ecx, ecx
jne 0x41438f
xor eax, eax
jmp 0x41439a
push 0x4bd640
call dword [0x4ab204]
push 0x4bd640
push eax
lea ecx, [esp + 0x1c]
call fcn.00403cf0
cmp ebp, ebx
jne 0x4143ed
push 0x16
jmp 0x4143de
mov edx, 0x4bd624
test edx, edx
jne 0x4143be
xor eax, eax
jmp 0x4143c9
push 0x4bd624
call dword [0x4ab204]
push 0x4bd624
push eax
lea ecx, [esp + 0x1c]
call fcn.00403cf0
cmp ebp, ebx
jne 0x4143ed
push 0x15
mov ecx, 0x4cb540
call fcn.00402fe0
mov ebp, 1
mov eax, 0x4bd61c
test eax, eax
je 0x414401
push 0x4bd61c
call dword [0x4ab204]
push 0x4bd61c
push eax
lea ecx, [esp + 0x1c]
call fcn.00403cf0
mov eax, dword [esp + 0x10]
mov edx, dword [0x4bc084]
mov byte [esp + 0x290], 2
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4144b5
add eax, 0xfffffff4
push eax
call dword [0x4ab208]
test eax, eax
jg 0x4144b5
mov edx, dword [esp + 0x10]
lea eax, [edx - 0xc]
push eax
call fcn.004985d0
add esp, 4
jmp 0x4144b5
call fcn.0040e710
test eax, eax
je 0x4144b5
mov ecx, edi
mov dword [esp + 0x60], 1
call fcn.0040e6f0
mov ecx, dword [esp + 0x18]
mov esi, eax
mov eax, dword [esi + 8]
add esi, 8
cmp ecx, eax
je 0x4144b5
cmp dword [ecx - 0xc], ebx
jge 0x414487
mov edx, dword [0x4bc084]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x41448c
cmp dword [eax - 0xc], ebx
jge 0x41449c
push eax
mov eax, dword [eax - 8]
push eax
lea ecx, [esp + 0x20]
call fcn.00403c30
jmp 0x4144b5
lea ecx, [esp + 0x18]
call fcn.00403ec0
mov esi, dword [esi]
mov dword [esp + 0x18], esi
add esi, 0xfffffff4
push esi
call dword [0x4ab200]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x40]
inc eax
cmp eax, ecx
mov dword [esp + 0x5c], eax
jl 0x414270
mov ecx, dword [esp + 0x14]
mov ebx, dword [0x4ab68c]
xor edi, edi
cmp dword [ecx - 8], edi
je 0x414643
mov edx, dword [esp + 0x58]
mov ebp, dword [0x4ab69c]
lea ecx, [esp + 0x88]
push 0x100
mov dword [edx + 0x7c], 0xbf
mov eax, dword [0x4cb538]
push ecx
push 0xbe
mov eax, dword [eax + 8]
push eax
call ebp
cmp eax, edi
jne 0x414519
mov word [esp + 0x88], di
mov edx, 0x100
sub edx, eax
cmp edx, 1
jle 0x414538
lea eax, [esp + 0x88]
lea ecx, [esp + 0x20]
push eax
call fcn.00403510
jmp 0x414586
push 0x1ff
lea ecx, [esp + 0x24]
mov esi, 0x200
call fcn.00403a10
cmp eax, edi
je 0x41457b
push esi
push eax
push 0xbe
call fcn.00403f30
mov ecx, esi
sub ecx, eax
cmp ecx, 1
jg 0x41457b
add esi, 0x100
lea ecx, [esp + 0x20]
lea edx, [esi - 1]
push edx
call fcn.00403a10
cmp eax, edi
jne 0x41454f
push 0xffffffffffffffff
lea ecx, [esp + 0x24]
call fcn.00403ad0
mov edi, dword [esp + 0x54]
push 1
push 1
lea eax, [esp + 0x34]
push 0
lea ecx, [esp + 0x28]
push eax
push ecx
mov ecx, edi
call fcn.00420480
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x30]
sub eax, edx
lea edx, [esp + 0x2c]
push eax
push 0
push edx
call ebx
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x38]
add eax, 0x14
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x6c], edx
cmp eax, ecx
je 0x41462e
mov edx, dword [eax - 0xc]
test edx, edx
jge 0x4145fc
mov edx, dword [0x4bc084]
add eax, 0xfffffff4
cmp eax, edx
jne 0x414603
mov eax, dword [ecx - 0xc]
test eax, eax
jge 0x414613
mov edx, dword [ecx - 8]
push ecx
push edx
lea ecx, [esp + 0x28]
call fcn.00403c30
jmp 0x41462e
lea ecx, [esp + 0x20]
call fcn.00403ec0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], eax
add eax, 0xfffffff4
push eax
call dword [0x4ab200]
push 1
push 1
lea eax, [esp + 0x6c]
push 0
lea ecx, [esp + 0x28]
push eax
push ecx
jmp 0x4146f4
mov edx, dword [0x4cb538]
mov ebp, dword [0x4ab69c]
lea ecx, [esp + 0x88]
push 0x100
mov eax, dword [edx + 8]
push ecx
push 0x9c
push eax
call ebp
cmp eax, edi
jne 0x414673
mov word [esp + 0x88], di
mov edx, 0x100
sub edx, eax
cmp edx, 1
jle 0x414692
lea eax, [esp + 0x88]
lea ecx, [esp + 0x20]
push eax
call fcn.00403510
jmp 0x4146e0
push 0x1ff
lea ecx, [esp + 0x24]
mov esi, 0x200
call fcn.00403a10
cmp eax, edi
je 0x4146d5
push esi
push eax
push 0x9c
call fcn.00403f30
mov ecx, esi
sub ecx, eax
cmp ecx, 1
jg 0x4146d5
add esi, 0x100
lea ecx, [esp + 0x20]
lea edx, [esi - 1]
push edx
call fcn.00403a10
cmp eax, edi
jne 0x4146a9
push 0xffffffffffffffff
lea ecx, [esp + 0x24]
call fcn.00403ad0
mov edi, dword [esp + 0x54]
push 1
push 1
lea eax, [esp + 0x34]
push 0
lea ecx, [esp + 0x28]
push eax
push ecx
mov ecx, edi
call fcn.00420480
mov edx, dword [esp + 0x18]
mov eax, dword [edx - 8]
test eax, eax
je 0x41489a
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x30]
sub eax, ecx
push eax
lea eax, [esp + 0x30]
push 0
push eax
call ebx
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x38]
add eax, 0x14
add ecx, 0x14
mov dword [esp + 0x64], eax
mov eax, dword [0x4bc080]
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x10], eax
mov ecx, dword [0x4cb538]
lea edx, [esp + 0x88]
push 0x100
push edx
mov eax, dword [ecx + 8]
push 0x9d
push eax
mov byte [esp + 0x2a0], 4
call ebp
test eax, eax
jne 0x414783
mov word [esp + 0x88], ax
mov ecx, 0x100
sub ecx, eax
cmp ecx, 1
jle 0x4147a2
lea edx, [esp + 0x88]
lea ecx, [esp + 0x10]
push edx
call fcn.00403510
jmp 0x4147f0
push 0x1ff
lea ecx, [esp + 0x14]
mov esi, 0x200
call fcn.00403a10
test eax, eax
je 0x4147e5
push esi
push eax
push 0x9d
call fcn.00403f30
mov ecx, esi
sub ecx, eax
cmp ecx, 1
jg 0x4147e5
add esi, 0x100
lea ecx, [esp + 0x10]
lea edx, [esi - 1]
push edx
call fcn.00403a10
test eax, eax
jne 0x4147b9
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.00403ad0
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x18]
push eax
mov eax, dword [eax - 8]
push eax
call fcn.00403cf0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
cmp eax, ecx
je 0x414854
mov edx, dword [eax - 0xc]
test edx, edx
jge 0x414822
mov edx, dword [0x4bc084]
add eax, 0xfffffff4
cmp eax, edx
jne 0x414829
mov eax, dword [ecx - 0xc]
test eax, eax
jge 0x414839
push ecx
mov ecx, dword [ecx - 8]
push ecx
lea ecx, [esp + 0x28]
call fcn.00403c30
jmp 0x414854
lea ecx, [esp + 0x20]
call fcn.00403ec0
mov eax, dword [esp + 0x18]
mov dword [esp + 0x20], eax
add eax, 0xfffffff4
push eax
call dword [0x4ab200]
push 1
push 1
lea edx, [esp + 0x6c]
push 0x30
lea eax, [esp + 0x28]
push edx
push eax
mov ecx, edi
call fcn.00420480
mov eax, dword [esp + 0x10]
mov edx, dword [0x4bc084]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x41489a
add eax, 0xfffffff4
push eax
call dword [0x4ab208]
test eax, eax
jg 0x41489a
mov edx, dword [esp + 0x10]
lea eax, [edx - 0xc]
push eax
call fcn.004985d0
add esp, 4
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x44]
add eax, 0x50
mov dword [esp + 0x80], edx
mov edx, dword [esp + 0x50]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x78], ecx
add eax, 0x14
mov dword [esp + 0x84], edx
add ecx, 0xa
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x78], ecx
add ecx, 0xc8
test eax, eax
mov dword [esp + 0x80], ecx
je 0x4149e2
mov eax, dword [0x4bc080]
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x88]
push 0x100
push ecx
push 0x9e
mov byte [esp + 0x29c], 5
call fcn.00403f30
mov edx, 0x100
sub edx, eax
cmp edx, 1
jle 0x41494e
lea eax, [esp + 0x88]
test eax, eax
je 0x41493a
lea ecx, [esp + 0x88]
push ecx
call dword [0x4ab204]
lea edx, [esp + 0x88]
lea ecx, [esp + 0x10]
push edx
push eax
call fcn.00403c30
jmp 0x41499c
push 0x1ff
lea ecx, [esp + 0x14]
mov esi, 0x200
call fcn.00403a10
test eax, eax
je 0x414991
push esi
push eax
push 0x9e
call fcn.00403f30
mov ecx, esi
sub ecx, eax
cmp ecx, 1
jg 0x414991
add esi, 0x100
lea ecx, [esp + 0x10]
lea edx, [esi - 1]
push edx
call fcn.00403a10
test eax, eax
jne 0x414965
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.00403ad0
lea eax, [esp + 0x10]
push 0
lea ecx, [esp + 0x7c]
push eax
push ecx
mov ecx, dword [esp + 0x64]
push 0x7e
call fcn.00414bb0
mov eax, dword [esp + 0x10]
mov ecx, dword [0x4bc084]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x4149e2
add eax, 0xfffffff4
push eax
call dword [0x4ab208]
test eax, eax
jg 0x4149e2
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.004985d0
add esp, 4
mov ecx, dword [0x4bc080]
xor ebp, ebp
mov dword [esp + 0x3c], ecx
mov eax, dword [esp + 0x40]
xor edi, edi
test eax, eax
mov byte [esp + 0x290], 6
jle 0x414a84
mov ecx, dword [esp + 0x74]
push edi
call fcn.00416340
mov esi, eax
test esi, esi
je 0x414a7b
mov ecx, esi
call fcn.0040e6e0
test eax, eax
je 0x414a7b
push 0x14
lea edx, [esp + 0x7c]
push 0
push edx
call ebx
mov ecx, esi
call fcn.0040e6f0
mov eax, dword [eax + 8]
lea ecx, [esp + 0x3c]
push eax
push 0x9f
push ecx
call fcn.00412300
add esp, 0xc
mov ecx, esi
call fcn.0040e880
test eax, eax
je 0x414a7b
mov ecx, esi
inc ebp
call fcn.0040e6f0
mov edx, dword [eax + 0x88]
lea eax, [esp + 0x3c]
push edx
lea ecx, [esp + 0x7c]
push eax
lea edx, [edi + 0x2968]
push ecx
mov ecx, dword [esp + 0x64]
push edx
call fcn.00414bb0
mov eax, dword [esp + 0x40]
inc edi
cmp edi, eax
jl 0x414a04
mov eax, dword [esp + 0x40]
cmp ebp, eax
pop ebp
jne 0x414a91
push 0x10
jmp 0x414a93
push 0x11
mov ecx, 0x4cb540
call fcn.00402fe0
mov ecx, dword [esp + 0x50]
call fcn.0041fb20
mov eax, dword [esp + 0x38]
mov edx, dword [0x4bc084]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x414ad5
add eax, 0xfffffff4
push eax
call dword [0x4ab208]
test eax, eax
jg 0x414ad5
mov edx, dword [esp + 0x38]
lea eax, [edx - 0xc]
push eax
call fcn.004985d0
add esp, 4
mov eax, dword [esp + 0x10]
mov edx, dword [0x4bc084]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x414b04
add eax, 0xfffffff4
push eax
call dword [0x4ab208]
test eax, eax
jg 0x414b04
mov edx, dword [esp + 0x10]
lea eax, [edx - 0xc]
push eax
call fcn.004985d0
add esp, 4
lea ecx, [esp + 0x14]
mov byte [esp + 0x28c], 0
call fcn.00403ba0
lea ecx, [esp + 0x18]
mov dword [esp + 0x28c], 0xffffffff
call fcn.00430ce0
mov eax, 1
mov ecx, dword [esp + 0x284]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x284
ret