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

Disassembly:
mov eax, dword [0x438444]
sub esp, 0x78
push ebx
push ebp
mov ebp, dword [0x42f380]
xor ebx, ebx
cmp eax, ebx
push esi
push edi
je 0x41979c
push 0x4c
call ebp
mov esi, eax
push 0x4d
mov dword [esp + 0x50], esi
call ebp
push 0x4e
mov edi, eax
call ebp
add eax, esi
push 0x4f
mov dword [esp + 0x58], eax
call ebp
mov ebp, eax
add ebp, edi
jmp 0x4197b1
xor esi, esi
push ebx
mov dword [esp + 0x50], esi
xor edi, edi
call ebp
push 1
mov dword [esp + 0x58], eax
call ebp
mov ebp, eax
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x90]
mov ecx, dword [0x43843c]
sub eax, esi
mov dword [esp + 0x1c], eax
mov dword [0x437dbc], eax
mov eax, ebp
sub eax, edi
mov dword [esp + 0x20], eax
mov dword [0x437d9c], eax
mov eax, dword [0x438438]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x94]
cmp edx, eax
mov dword [0x437b10], esi
mov dword [0x437de8], edi
mov dword [esp + 0x28], ecx
mov esi, edx
jg 0x419802
mov esi, eax
mov dword [esp + 0x24], esi
fild dword [esp + 0x24]
fmul qword [0x431830]
call fcn.0042de0c
mov dword [esp + 0x10], eax
cmp dword [esp + 0x14], ebx
jne 0x419846
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x4c]
mov dword [0x437b20], eax
lea eax, [ecx + esi + 0xa]
sub ebp, eax
mov dword [0x437d84], eax
mov dword [0x437d50], ebp
jmp 0x4198cd
mov eax, dword [esp + 0x14]
cmp eax, 3
jne 0x419877
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
mov dword [0x437b20], eax
mov eax, dword [esp + 0x4c]
lea edx, [ecx + esi + 0xa]
mov dword [0x437d84], edx
mov dword [0x437a00], eax
mov dword [0x437d50], edi
jmp 0x4198d3
cmp eax, 1
jne 0x4198a5
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
lea edx, [ecx + esi + 0xa]
mov ecx, dword [esp + 0x4c]
mov dword [0x437b20], edx
mov dword [0x437d84], eax
mov dword [0x437a00], ecx
mov dword [0x437d50], edi
jmp 0x4198d3
cmp eax, 2
jne 0x4198d3
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
lea eax, [edx + esi + 0xa]
mov edx, dword [esp + 0x54]
mov dword [0x437b20], eax
mov dword [0x437d84], ecx
sub edx, eax
mov dword [0x437d50], edi
mov dword [0x437a00], edx
mov eax, dword [0x437ed8]
cmp eax, ebx
mov edi, dword [0x42f068]
mov ebp, dword [0x42f060]
je 0x419903
mov ecx, dword [0x437ee0]
push ecx
push eax
call edi
mov edx, dword [0x437edc]
push edx
call ebp
mov eax, dword [0x437ed8]
push eax
call ebp
push ebx
call dword [0x42f05c]
push ebx
push ebx
lea ecx, [esp + 0x20]
push ecx
mov dword [0x437ed8], eax
mov eax, dword [esp + 0x1c]
push ebx
lea edx, [esp + 0x6c]
lea eax, [eax + eax + 0x194]
push edx
push ebx
mov dword [esp + 0x74], 0x28
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov word [esp + 0x80], 1
mov word [esp + 0x82], 0x20
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], ebx
mov dword [esp + 0x30], ebx
call dword [0x42f040]
push eax
mov dword [0x437edc], eax
mov eax, dword [0x437ed8]
push eax
call edi
push ebx
mov dword [0x437ee0], eax
call dword [0x42f36c]
push 8
mov dword [esp + 0x28], eax
call fcn.0042cccd
mov edi, eax
cmp edi, ebx
mov dword [esp + 0x20], ebx
je 0x4199cd
mov edx, dword [0x437ed8]
lea ecx, [esp + 0x20]
push ecx
push edx
call fcn.0042ccfd
mov dword [edi + 4], eax
mov eax, dword [esp + 0x20]
mov dword [edi], eax
mov dword [esp + 0x20], edi
mov ecx, dword [0x438420]
mov edx, dword [0x43841c]
mov eax, dword [esp + 0x94]
mov edi, dword [0x438440]
mov ebp, dword [0x43843c]
push 7
push ecx
mov ecx, dword [esp + 0x2c]
push edx
push eax
push 0xc
push ecx
call dword [0x42f050]
mov edx, dword [0x437d84]
mov ecx, dword [esp + 0x24]
push eax
mov eax, dword [0x437b20]
push edx
mov edx, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0xac]
push edi
push ebp
push ecx
push edx
push 0x438508
call fcn.00417c90
mov eax, dword [0x43850c]
cmp eax, ebx
mov ecx, dword [eax + 0x3c]
mov edx, dword [eax + 0x40]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
je 0x419a50
mov ecx, dword [eax + 0xc4]
cmp ecx, ebx
je 0x419a50
mov eax, ecx
cmp eax, ebx
jne 0x419a40
mov ecx, dword [eax + 0x44]
mov edx, dword [eax + 0x3c]
mov ebp, dword [esp + 0x38]
mov edi, dword [eax + 0x40]
mov eax, dword [eax + 0x48]
sub ecx, ebp
add ecx, edx
sub eax, dword [esp + 0x3c]
add eax, edi
mov edi, eax
cmp dword [0x438458], ebx
mov ebp, ecx
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], edi
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0x40100000
je 0x419a96
mov dword [esp + 0x3c], 0x40140000
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x419c2e
cmp eax, 3
je 0x419c4b
cmp eax, 1
je 0x419b3e
cmp eax, 2
jne 0x419d7f
mov eax, dword [esp + 0x10]
mov ecx, dword [0x437dbc]
lea eax, [eax + esi + 0xa]
sub ecx, eax
mov dword [0x437b20], eax
add ecx, dword [0x437b10]
mov dword [0x437a00], ecx
mov eax, dword [esp + 0x28]
cmp eax, ebx
jne 0x419b5a
mov eax, dword [esp + 0x90]
mov edx, esi
sub edx, eax
mov dword [esp + 0x28], edx
fild dword [esp + 0x28]
fmul qword [esp + 0x38]
call fcn.0042de0c
mov ecx, dword [0x437d9c]
add eax, edi
add eax, esi
cmp eax, ecx
mov dword [0x437d84], eax
jle 0x419b1c
mov eax, ecx
mov dword [0x437d84], eax
cdq
sub eax, edx
mov edi, eax
mov eax, ecx
mov ecx, dword [0x437de8]
cdq
sub eax, edx
sar edi, 1
sar eax, 1
sub eax, edi
add eax, ecx
mov dword [0x437d50], eax
jmp 0x419d7f
mov eax, dword [esp + 0x10]
mov edx, dword [0x437b10]
lea ecx, [eax + esi + 0xa]
mov dword [0x437b20], ecx
mov dword [0x437a00], edx
jmp 0x419ade
cmp eax, 1
jne 0x419bc0
mov ecx, dword [esp + 0x90]
mov eax, esi
sub eax, ecx
mov dword [esp + 0x28], eax
fild dword [esp + 0x28]
fmul qword [esp + 0x38]
call fcn.0042de0c
mov ecx, eax
mov eax, edi
cdq
add ecx, edi
sub eax, edx
mov edi, eax
add ecx, esi
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
sar edi, 1
sub edi, eax
add edi, dword [0x438440]
mov eax, dword [0x437d9c]
add ecx, edi
cmp ecx, eax
mov dword [0x437d84], ecx
jle 0x419baf
mov dword [0x437d84], eax
mov ecx, dword [0x437de8]
mov dword [0x437d50], ecx
jmp 0x419d7f
cmp eax, 2
jne 0x419d7f
mov ecx, dword [esp + 0x90]
mov edx, esi
sub edx, ecx
mov dword [esp + 0x28], edx
fild dword [esp + 0x28]
fmul qword [esp + 0x38]
call fcn.0042de0c
mov ecx, eax
mov eax, edi
cdq
add ecx, edi
sub eax, edx
mov edi, eax
add ecx, esi
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
sar edi, 1
sub edi, eax
add edi, dword [0x438440]
mov eax, dword [0x437d9c]
add ecx, edi
cmp ecx, eax
mov dword [0x437d84], ecx
jle 0x419c1c
mov ecx, eax
mov dword [0x437d84], ecx
sub eax, ecx
add eax, dword [0x437de8]
mov dword [0x437d50], eax
jmp 0x419d7f
mov eax, dword [esp + 0x10]
mov ecx, dword [0x437d9c]
lea eax, [eax + esi + 0xa]
sub ecx, eax
mov dword [0x437d84], eax
add ecx, dword [0x437de8]
jmp 0x419c5e
mov edx, dword [esp + 0x10]
mov ecx, dword [0x437de8]
lea eax, [edx + esi + 0xa]
mov dword [0x437d84], eax
mov eax, dword [esp + 0x28]
cmp eax, ebx
mov dword [0x437d50], ecx
jne 0x419cb7
mov edi, dword [esp + 0x90]
mov edx, esi
sub edx, edi
mov dword [esp + 0x28], edx
fild dword [esp + 0x28]
fmul qword [esp + 0x38]
call fcn.0042de0c
mov ecx, dword [0x437dbc]
add eax, ebp
add eax, esi
cmp eax, ecx
mov dword [0x437b20], eax
jle 0x419ca2
mov eax, ecx
mov dword [0x437b20], eax
cdq
sub eax, edx
mov edi, eax
mov eax, ecx
cdq
sub eax, edx
sar edi, 1
sar eax, 1
sub eax, edi
jmp 0x419d74
cmp eax, 1
jne 0x419d1a
mov edi, dword [esp + 0x90]
mov eax, esi
sub eax, edi
mov dword [esp + 0x28], eax
fild dword [esp + 0x28]
fmul qword [esp + 0x38]
call fcn.0042de0c
mov ecx, eax
mov eax, ebp
cdq
sub eax, edx
mov edi, eax
add ecx, ebp
add ecx, esi
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
sar edi, 1
sub edi, eax
add edi, dword [0x438440]
mov eax, dword [0x437dbc]
add ecx, edi
cmp ecx, eax
mov dword [0x437b20], ecx
jle 0x419d0c
mov dword [0x437b20], eax
mov ecx, dword [0x437b10]
mov dword [0x437a00], ecx
jmp 0x419d7f
cmp eax, 2
jne 0x419d7f
mov edi, dword [esp + 0x90]
mov edx, esi
sub edx, edi
mov dword [esp + 0x28], edx
fild dword [esp + 0x28]
fmul qword [esp + 0x38]
call fcn.0042de0c
mov ecx, eax
mov eax, ebp
cdq
sub eax, edx
mov edi, eax
add ecx, ebp
add ecx, esi
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
sar edi, 1
sub edi, eax
add edi, dword [0x438440]
mov eax, dword [0x437dbc]
add ecx, edi
cmp ecx, eax
mov dword [0x437b20], ecx
jle 0x419d72
mov ecx, eax
mov dword [0x437b20], ecx
sub eax, ecx
add eax, dword [0x437b10]
mov dword [0x437a00], eax
mov eax, dword [0x438420]
mov ecx, dword [0x43841c]
mov edx, dword [esp + 0x94]
mov edi, dword [0x438440]
mov ebp, dword [0x43843c]
push 7
push eax
mov eax, dword [esp + 0x2c]
push ecx
push edx
push 0xc
push eax
call dword [0x42f050]
mov ecx, dword [0x437d84]
mov edx, dword [0x437b20]
push eax
mov eax, dword [esp + 0x28]
push ecx
push edx
push edi
mov edi, dword [esp + 0x40]
push ebp
push eax
mov eax, dword [esp + 0xb8]
push edi
push 0x438508
call fcn.00417c90
cmp edi, ebx
je 0x419ded
mov ecx, dword [edi]
push ecx
call fcn.0042cc9d
push edi
call fcn.0042cc5d
mov edx, dword [esp + 0x24]
push edx
push ebx
call dword [0x42f370]
mov eax, dword [0x437b1c]
cmp eax, ebx
mov ebp, dword [0x42f068]
je 0x419e29
mov ecx, dword [0x437f78]
push ecx
push eax
call ebp
mov edx, dword [0x437f74]
mov edi, dword [0x42f060]
push edx
call edi
mov eax, dword [0x437b1c]
push eax
call edi
mov edi, dword [0x42f05c]
push ebx
call edi
mov ecx, dword [0x437b20]
mov edx, dword [0x437d84]
push ebx
push ebx
mov dword [0x437b1c], eax
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x6c], ecx
push ebx
lea ecx, [esp + 0x6c]
push ecx
push ebx
mov dword [esp + 0x74], 0x28
mov dword [esp + 0x7c], edx
mov word [esp + 0x80], 1
mov word [esp + 0x82], 0x20
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], ebx
mov dword [esp + 0x30], ebx
call dword [0x42f040]
mov edx, dword [0x437b1c]
push eax
push edx
mov dword [0x437f74], eax
call ebp
mov dword [0x437f78], eax
cmp dword [esp + 0x98], ebx
je 0x419ed3
mov eax, dword [0x437dec]
push ebx
push eax
call dword [0x42f3bc]
mov eax, dword [0x437d70]
cmp eax, ebx
je 0x419eff
mov ecx, dword [0x437d6c]
push ecx
push eax
call ebp
mov edx, dword [0x437d40]
push edx
call dword [0x42f060]
mov eax, dword [0x437d70]
push eax
call dword [0x42f060]
push ebx
call edi
mov dword [0x437d70], eax
mov eax, dword [esp + 0x14]
cmp eax, ebx
mov dword [esp + 0x5c], 0x28
je 0x419f6c
cmp eax, 3
je 0x419f6c
mov ecx, dword [0x4384e0]
mov edx, dword [0x4384e8]
add edx, ecx
mov ecx, dword [esp + 0x90]
lea eax, [edx + ecx + 0xa]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x2c]
sub eax, ecx
add eax, esi
mov dword [esp + 0x2c], eax
fild dword [esp + 0x2c]
fmul qword [esp + 0x38]
call fcn.0042de0c
mov edx, dword [0x4384ec]
mov ecx, dword [0x4384e4]
add eax, edx
add eax, ecx
lea ecx, [eax + esi + 0xa]
mov dword [esp + 0x64], ecx
jmp 0x419fb9
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x90]
sub eax, edi
add eax, esi
mov dword [esp + 0x30], eax
fild dword [esp + 0x30]
fmul qword [esp + 0x38]
call fcn.0042de0c
mov edx, dword [0x4384e8]
mov ecx, dword [0x4384e0]
add eax, edx
add eax, ecx
mov ecx, dword [0x4384ec]
lea edx, [eax + esi + 0xa]
mov eax, dword [0x4384e4]
add ecx, eax
mov dword [esp + 0x60], edx
lea edx, [ecx + edi + 0xa]
mov dword [esp + 0x64], edx
push ebx
push ebx
lea eax, [esp + 0x20]
push eax
push ebx
lea ecx, [esp + 0x6c]
push ecx
push ebx
mov word [esp + 0x80], 1
mov word [esp + 0x82], 0x20
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], ebx
mov dword [esp + 0x30], ebx
call dword [0x42f040]
mov edx, dword [0x437d70]
push eax
push edx
mov dword [0x437d40], eax
call ebp
mov esi, dword [0x438424]
mov edi, dword [0x42f314]
push 0x1b
push ebx
push ebx
push ebx
neg esi
push ebx
sbb esi, esi
mov dword [0x437d6c], eax
mov eax, dword [0x437dec]
push esi
push eax
call edi
mov ecx, dword [0x437b14]
push 0x1b
push ebx
push ebx
push ebx
push ebx
push esi
push ecx
call edi
cmp dword [0x437da8], ebx
je 0x41a080
mov edx, dword [0x437d84]
mov eax, dword [0x437b20]
mov ecx, dword [0x437d50]
push 0x1c
push edx
mov edx, dword [0x437a00]
push eax
mov eax, dword [0x437b14]
push ecx
push edx
push esi
push eax
call edi
cmp dword [esp + 0x9c], ebx
je 0x41a31f
mov eax, dword [0x437ec4]
cmp eax, ebx
je 0x41a0bd
mov ecx, dword [0x437ecc]
push ecx
push eax
call ebp
mov edx, dword [0x437ec8]
mov esi, dword [0x42f060]
push edx
call esi
mov eax, dword [0x437ec4]
push eax
call esi
mov dword [0x437ec4], ebx
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x41a10d
cmp eax, 3
je 0x41a10d
cmp dword [0x43841c], ebx
je 0x41a0fa
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x90]
cmp ecx, eax
jg 0x41a0e6
mov ecx, eax
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x4c]
sub eax, ecx
sub eax, edx
dec eax
mov dword [0x437ed0], eax
jmp 0x41a117
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x90]
dec eax
mov dword [0x437ed0], eax
jmp 0x41a117
mov ecx, dword [esp + 0x1c]
mov dword [0x437ed0], ecx
mov edx, dword [0x438474]
mov edi, dword [0x42f070]
push ebx
push ebx
push 0xffffffffffffffff
push edx
push ebx
push ebx
call edi
mov esi, eax
lea eax, [esi + esi]
push eax
call fcn.004251ca
mov ecx, dword [0x438474]
add esp, 4
push esi
mov ebp, eax
push ebp
push 0xffffffffffffffff
push ecx
push ebx
push ebx
call edi
mov esi, dword [0x4384a4]
mov edi, dword [0x4384a8]
push 8
call fcn.0042cccd
mov ecx, eax
cmp ecx, ebx
je 0x41a27b
fild dword [0x438478]
neg edi
sbb edi, edi
xor edx, edx
and edi, 2
cmp esi, ebx
setne dl
push 3
xor eax, eax
mov esi, ecx
or edi, edx
push edi
push ecx
mov edx, ebp
fstp dword [esp]
call fcn.0040d7c0
mov edi, eax
cmp edi, ebx
je 0x41a27b
push 8
call fcn.0042cccd
mov esi, eax
cmp esi, ebx
je 0x41a1c7
mov ecx, dword [0x437b1c]
lea eax, [esp + 0x28]
push eax
push ecx
mov dword [esp + 0x30], ebx
call fcn.0042ccfd
mov edx, dword [esp + 0x28]
mov dword [esi + 4], eax
mov dword [esi], edx
jmp 0x41a1c9
xor esi, esi
lea eax, [esp + 0x38]
push eax
push ebx
push ebx
mov dword [esp + 0x34], esi
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], ebx
call fcn.0042ce5d
mov ecx, dword [esp + 0x38]
push 3
push ecx
mov dword [esp + 0x44], eax
call fcn.0042ce6d
cmp eax, ebx
je 0x41a225
mov dword [esp + 0x3c], eax
lea edx, [esp + 0x4c]
push edx
push 0xffffffffffffffff
push ebp
lea ecx, [esp + 0x44]
lea eax, [esp + 0x3c]
mov edx, edi
call fcn.00403fa0
fld dword [esp + 0x58]
call fcn.0042de0c
mov esi, dword [esp + 0x28]
add eax, 0xa
cmp esi, ebx
mov dword [0x437ed4], eax
je 0x41a263
mov eax, dword [esi]
push eax
call fcn.0042cc9d
push esi
call fcn.0042cc5d
mov ecx, dword [edi]
push ecx
call fcn.0042cedd
push edi
call fcn.0042cc5d
mov edx, dword [esp + 0x38]
push edx
call fcn.0042ce8d
push ebp
call fcn.00425131
add esp, 4
push ebx
call dword [0x42f05c]
mov ecx, dword [0x437ed4]
push ebx
push ebx
mov dword [0x437ec4], eax
mov eax, dword [0x437ed0]
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0x6c], eax
push ebx
lea eax, [esp + 0x6c]
push eax
push ebx
mov dword [esp + 0x74], 0x28
mov dword [esp + 0x7c], ecx
mov word [esp + 0x80], 1
mov word [esp + 0x82], 0x20
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], ebx
mov dword [esp + 0x30], ebx
call dword [0x42f040]
mov ecx, dword [0x437ec4]
push eax
push ecx
mov dword [0x437ec8], eax
call dword [0x42f068]
mov edi, dword [0x42f314]
mov dword [0x437ecc], eax
mov ecx, dword [0x43850c]
cmp ecx, ebx
mov eax, dword [ecx + 0x48]
mov esi, dword [ecx + 0x3c]
mov edx, dword [ecx + 0x40]
mov dword [esp + 0x44], eax
je 0x41a346
mov eax, dword [ecx + 0xc4]
cmp eax, ebx
je 0x41a346
mov ecx, eax
cmp ecx, ebx
jne 0x41a336
mov eax, dword [ecx + 0x40]
mov ebp, dword [esp + 0x14]
cmp ebp, 3
mov ebx, dword [ecx + 0x3c]
mov dword [esp + 0x50], eax
mov eax, dword [ecx + 0x44]
mov ecx, dword [ecx + 0x48]
ja 0x41a41c
jmp dword [ebp*4 + 0x419824]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x78
ret