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

Disassembly:
jmp 0x45f3b0
push 0xffffffffffffffff
push 0x50afdb
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53bbf0]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x38]
mov ebx, 1
mov dword [esi + 0x3c], ebx
movzx edi, word [eax + 0x314]
test di, di
je 0x45f4b4
mov ecx, dword [esi + 0x78]
mov edx, dword [esi + 0x10]
mov eax, dword [esi + 0x34]
push 0
push 0
push 0
push ecx
mov ecx, dword [esi + 0x30]
push edx
push eax
mov edx, dword [esi + 0x7c]
push ecx
mov ecx, dword [esi + 0x54]
push edx
mov eax, 0x10624dd3
imul ecx
mov ecx, dword [esi + 0x48]
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
mov eax, 0x66666667
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
push ecx
mov ecx, dword [esi + 0x44]
mov eax, 0x66666667
imul ecx
mov ecx, dword [esi + 0x40]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
mov eax, 0x66666667
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
push ecx
mov ecx, dword [esi + 0x20]
mov eax, 0x68db8bad
imul ecx
mov ecx, dword [esi + 0x1c]
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
push 0
push eax
mov eax, 0x68db8bad
imul ecx
sar edx, 0xc
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
push ecx
mov ecx, dword [esi + 0x18]
mov eax, 0x68db8bad
imul ecx
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
movsx ecx, di
push 0
push ecx
mov ecx, dword [0x563908]
call fcn.00402590
cmp dword [esi + 0x30], 0
jne 0x45f525
mov edx, dword [0x563908]
mov eax, dword [edx + 0x6bc4]
movsx ecx, word [eax + 0x60]
cmp dword [esi + 0x34], ecx
jne 0x45f525
mov edx, dword [esi + 0x20]
mov eax, 0x68db8bad
imul edx
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esi + 0x1c]
push eax
mov eax, 0x68db8bad
imul edx
sar edx, 0xc
mov ecx, dword [0x56391c]
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esi + 0x18]
mov edi, dword [ecx]
push eax
mov eax, 0x68db8bad
imul edx
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esi + 0x38]
push eax
mov eax, dword [edx + 0x80]
mov edx, dword [edi + 0x50]
push eax
call edx
or ebp, 0xffffffff
mov dword [esi + 0x6c], ebp
mov edx, dword [0x563908]
cmp dword [edx + 0x6bc8], 0
je 0x45f9ed
mov eax, dword [esi + 0x38]
movzx eax, word [eax + 0x2e0]
test ax, ax
je 0x45f5d7
cmp ax, bx
jne 0x45f56b
cmp dword [esi + 0x30], 0
jne 0x45f5d7
mov ecx, dword [edx + 0x6bc4]
movsx ecx, word [ecx + 0x60]
cmp dword [esi + 0x34], ecx
jne 0x45f5d7
cmp ax, 2
jne 0x45f580
mov ecx, dword [edx + 0x6bc4]
movsx ecx, word [ecx + 0x64]
cmp dword [esi + 0x10], ecx
jne 0x45f5d7
cmp ax, 4
jne 0x45f595
mov ecx, dword [edx + 0x6bc4]
movsx ecx, word [ecx + 0x64]
cmp dword [esi + 0x10], ecx
je 0x45f5d7
cmp ax, 3
jne 0x45f5b9
mov ecx, dword [edx + 0x6bc4]
movsx edi, word [ecx + 0x64]
cmp dword [esi + 0x10], edi
jne 0x45f5b9
cmp dword [esi + 0x30], 0
jne 0x45f5d7
movsx ecx, word [ecx + 0x60]
cmp dword [esi + 0x34], ecx
jne 0x45f5d7
cmp ax, 5
jne 0x45f8b8
mov eax, dword [edx + 0x6bc4]
movsx ecx, word [eax + 0x60]
cmp ecx, dword [esp + 0x5c]
jne 0x45f8b8
mov ecx, dword [edx + 0x6bc4]
call fcn.004014fb
test eax, eax
jne 0x45f8b2
mov edx, dword [esi + 0x38]
cmp word [edx + 0x2e4], ax
je 0x45f64c
mov ecx, dword [esi + 0x1c]
push eax
mov eax, 0x68db8bad
imul ecx
mov ecx, dword [esi + 0x18]
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
mov eax, 0x68db8bad
imul ecx
mov eax, dword [0x563908]
sar edx, 0xc
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [eax + 0xfc]
push ecx
mov ecx, dword [eax + 0xf8]
push edx
push ecx
mov ecx, dword [eax + 0x1790]
push 0x2710
call fcn.004b5060
test eax, eax
je 0x45f8b2
mov eax, dword [esi + 0x38]
movzx edx, word [eax + 0x2e8]
test dx, dx
je 0x45f6da
movzx edi, word [eax + 0x2ea]
test di, di
je 0x45f6da
movsx ebp, word [eax + 0x2f2]
push ebp
movsx ebp, word [eax + 0x2f0]
push ebp
movsx ebp, word [eax + 0x2ee]
movsx eax, word [eax + 0x2ec]
movsx edx, dx
push ebp
push edx
push eax
mov eax, dword [esi + 0x44]
movsx edx, di
push edx
mov edx, dword [esi + 0x40]
push eax
push edx
mov edx, dword [esi + 0x1c]
mov eax, 0x68db8bad
imul edx
mov ecx, dword [0x563908]
mov ecx, dword [ecx + 0x6bc8]
sar edx, 0xc
mov ebx, dword [ecx]
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esi + 0x18]
push eax
mov eax, 0x68db8bad
imul edx
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebx + 0xd0]
push eax
call edx
or ebp, 0xffffffff
mov eax, dword [0x563908]
mov ecx, dword [eax + 0x6bc8]
mov eax, dword [esi + 0x38]
movsx edx, word [eax + 0x310]
push edx
movsx edx, word [eax + 0x30e]
push edx
movsx edx, word [eax + 0x306]
push edx
movsx edx, word [eax + 0x308]
push edx
movsx edx, word [eax + 0x30c]
push edx
movsx edx, word [eax + 0x30a]
movsx eax, word [eax + 0x304]
push edx
mov edx, dword [esi + 0x20]
push eax
mov eax, 0x68db8bad
imul edx
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esi + 0x1c]
push eax
mov eax, 0x68db8bad
imul edx
sar edx, 0xc
mov edi, dword [ecx]
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esi + 0x18]
push eax
mov eax, 0x68db8bad
imul edx
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [edi + 0xd4]
push eax
call edx
mov ebx, eax
mov eax, dword [esi + 0x38]
movzx eax, word [eax + 0x316]
test ax, ax
je 0x45f848
mov edx, dword [0x563908]
movsx ecx, ax
push ecx
mov ecx, dword [edx + 0x178c]
call fcn.004028ec
mov edi, eax
test edi, edi
je 0x45f848
mov eax, dword [edi]
mov edx, dword [eax + 4]
mov ecx, edi
call edx
cmp eax, 0xb
jne 0x45f848
mov eax, dword [edi + 0x260]
cdq
xor eax, edx
sub eax, edx
cmp ebx, eax
jge 0x45f848
movzx eax, word [edi + 0x274]
test ax, ax
jne 0x45f7df
mov eax, dword [0x563908]
mov ecx, dword [eax + 0x6bc4]
movsx edi, word [ecx + 0x60]
jmp 0x45f7f4
cmp ax, 1
jne 0x45f848
mov edx, dword [0x563908]
mov eax, dword [edx + 0x6bc8]
mov edi, dword [eax + 0x38]
cmp edi, ebp
je 0x45f848
push 0x2c
call fcn.004c1ea3
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x54], 0
je 0x45f831
mov ecx, dword [esi + 0x34]
mov edx, dword [esi + 0x30]
push ecx
mov ecx, dword [esi + 0x38]
push edx
movsx edx, word [ecx + 0x316]
push 0
push edi
push edx
mov ecx, eax
call fcn.00401e3d
jmp 0x45f833
xor eax, eax
push eax
mov eax, dword [0x563908]
mov ecx, dword [eax + 0x584]
mov dword [esp + 0x58], ebp
call fcn.004a7300
mov edx, dword [esi + 0x38]
push edx
mov edx, dword [esi + 0x20]
mov eax, 0x68db8bad
imul edx
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esi + 0x1c]
push eax
mov eax, 0x68db8bad
imul edx
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esi + 0x18]
mov ecx, dword [0x563908]
push eax
mov ecx, dword [ecx + 0x6bc8]
mov edi, dword [ecx]
mov eax, 0x68db8bad
imul edx
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esi + 0x10]
push eax
mov eax, dword [esi + 0x34]
push edx
mov edx, dword [esi + 0x30]
push eax
mov eax, dword [edi + 0x8c]
push edx
call eax
mov ebx, 1
mov edx, dword [0x563908]
mov ecx, dword [esi + 0x38]
cmp word [ecx + 0x2e8], 0
je 0x45f99b
cmp word [ecx + 0x2f4], 0
je 0x45f99b
mov edx, dword [esi + 0x18]
mov eax, 0x68db8bad
imul edx
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esi + 0x1c]
mov dword [esp + 0x18], eax
mov eax, 0x68db8bad
imul edx
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esi + 0x30], 0
mov edx, dword [esi + 0x40]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x44]
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
movsx edx, word [ecx + 0x2f4]
mov dword [esp + 0x28], edx
movsx eax, word [ecx + 0x2e8]
mov dword [esp + 0x2c], eax
movsx edx, word [ecx + 0x2ee]
mov dword [esp + 0x30], edx
movsx eax, word [ecx + 0x2f0]
mov dword [esp + 0x34], eax
movsx edx, word [ecx + 0x2f8]
mov dword [esp + 0x48], edx
movsx eax, word [ecx + 0x2e0]
mov dword [esp + 0x38], eax
jne 0x45f963
mov dword [esp + 0x3c], ebp
jmp 0x45f96a
mov ecx, dword [esi + 0x34]
mov dword [esp + 0x3c], ecx
mov edx, dword [esi + 0x10]
mov dword [esp + 0x40], edx
call fcn.004c11ab
mov dword [esp + 0x44], eax
mov eax, dword [esi + 0x38]
movsx ecx, word [eax + 0x2f6]
push ecx
mov ecx, dword [0x563908]
lea edx, [esp + 0x1c]
push edx
call fcn.00401a69
mov edx, dword [0x563908]
cmp dword [esi + 0xb0], 0
je 0x45f9ed
mov eax, dword [edx + 0x580]
mov edi, dword [eax]
test edi, edi
je 0x45f9ed
cmp edi, esi
je 0x45f9e6
cmp dword [edi + 0x3c], 0
jne 0x45f9e6
mov eax, dword [edi + 0xac]
test eax, eax
je 0x45f9e6
mov ecx, dword [edi + 0xb0]
cmp ecx, dword [esi + 0xb0]
jne 0x45f9e6
cmp eax, 2
jne 0x45f9e3
mov edx, dword [esp + 0x5c]
push edx
mov ecx, edi
call fcn.00401b09
mov dword [edi + 0x3c], ebx
mov edi, dword [edi + 4]
test edi, edi
jne 0x45f9b0
mov ecx, dword [esi + 0x48]
mov edx, dword [esi + 0x44]
mov eax, dword [esi + 0x38]
push ecx
mov ecx, dword [esi + 0x40]
push edx
mov edx, dword [esi + 0x20]
push ecx
mov ecx, dword [esi + 0x1c]
push edx
mov edx, dword [esi + 0x18]
push ecx
push edx
mov edx, dword [eax + 0x5b8]
lea ecx, [eax + 0x454]
push ecx
mov ecx, dword [eax + 0x5b0]
push edx
mov edx, dword [eax + 0x5ac]
push ecx
push edx
call fcn.004028fb
add esp, 0x28
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret 4