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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 0x74
call fcn.0048e3f8
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0x1d
rep stosd dword es:[edi], eax
mov dword [ebx], 0x59178b
push ebx
add ebx, 0x70
push ebx
push 0x14
call fcn.0048e3f8
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 5
rep stosd dword es:[edi], eax
mov dword [ebx], 0x5918bf
pop ebx
pop ebx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
push 0xa0dc54
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
push 0xa0dc6c
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x18]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xa
jl 0x40b446
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov eax, 0x59173f
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
call fcn.00407b5d
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40b441
push ebx
call fcn.0048e40a
add esp, 4
jmp 0x40b96d
push 0xffffffffffffffff
push 0x12
push 0x1601d548
push 0x52011cb0
call fcn.0048e422
add esp, 0x10
test eax, eax
je 0x40b487
push 0xa0dc38
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x14]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x40b487
mov eax, 1
jmp 0x40b489
xor eax, eax
test eax, eax
je 0x40b4c3
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov eax, 0x59175e
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
call fcn.00407b5d
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40b4be
push ebx
call fcn.0048e40a
add esp, 4
jmp 0x40b96d
push 0xffffffffffffffff
push 0x12
push 0x1601d556
push 0x52011cb0
call fcn.0048e422
add esp, 0x10
test eax, eax
je 0x40b504
push 0xa0dc3c
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x14]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x40b504
mov eax, 1
jmp 0x40b506
xor eax, eax
test eax, eax
je 0x40b540
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov eax, 0x59176f
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
call fcn.00407b5d
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40b53b
push ebx
call fcn.0048e40a
add esp, 4
jmp 0x40b96d
push 0xa0dc54
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x10]
push 0xa0dc58
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
push 0xffffffffffffffff
push 0x12
push 0x1601d544
push 0x52011cb0
call fcn.0048e422
add esp, 0x10
mov dword [ebp - 4], eax
push 0xffffffffffffffff
push 0x12
push 0x1601d55e
push 0x52011cb0
call fcn.0048e422
add esp, 0x10
mov dword [ebp - 8], eax
push 0xa0dc58
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x10]
mov dword [ebp - 0xc], 0xffffffff
push dword [ebp - 0xc]
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x28]
test eax, eax
je 0x40b823
call fcn.0040b981
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40b5fa
push ebx
call fcn.0048e40a
add esp, 4
cmp dword [ebp - 0x20], 0
je 0x40b609
jmp 0x40b60b
jmp 0x40b5cd
call fcn.0040de89
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x30]
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40b638
push ebx
call fcn.0048e40a
add esp, 4
cmp dword [ebp - 0x20], 0
je 0x40b647
jmp 0x40b649
jmp 0x40b60b
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x34]
test eax, eax
je 0x40b7e8
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x38]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
je 0x40b6af
cmp dword [ebp - 0x14], 1
jne 0x40b6a1
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x3c]
test eax, eax
je 0x40b6a1
mov eax, 1
jmp 0x40b6a3
xor eax, eax
test eax, eax
jne 0x40b6af
xor eax, eax
jmp 0x40b6b4
mov eax, 1
test eax, eax
je 0x40b7e3
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x40]
test eax, eax
je 0x40b7e3
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x44]
test eax, eax
je 0x40b793
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x48]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x40b793
cmp dword [ebp - 4], 0
je 0x40b78c
xor ecx, ecx
inc ecx
push ecx
cmp ecx, 3
jg 0x40b784
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x74]
test eax, eax
je 0x40b781
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x78]
test eax, eax
je 0x40b781
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x7c]
test eax, eax
je 0x40b77c
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x80]
test eax, eax
je 0x40b77c
mov dword [ebp - 0x18], 1
jmp 0x40b784
pop ecx
jmp 0x40b70f
add esp, 4
jmp 0x40b793
mov dword [ebp - 0x18], 1
cmp dword [ebp - 0x18], 0
je 0x40b7c5
push 0xa0dc88
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x1c]
push 0
push 0xa0dc6c
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x24]
jmp 0x40b7e3
push 0xa0dc8c
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x1c]
push 0xa0dc6c
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x1c]
jmp 0x40b7ed
jmp 0x40b649
cmp dword [ebp - 0x18], 0
je 0x40b808
cmp dword [ebp - 8], 0
je 0x40b808
mov eax, 1
jmp 0x40b80a
xor eax, eax
test eax, eax
je 0x40b823
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x84]
cmp dword [ebp - 0xc], 0xffffffff
je 0x40b838
push dword [ebp - 0x18]
push dword [ebp - 0xc]
call fcn.0040df7e
call fcn.0040e95e
push 1
push 0xa0dc68
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x34]
push 0xa0dc58
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
push 0xa0dc3c
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x14]
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x4904a0
call fcn.0048e410
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push 0x591782
mov ecx, 2
call fcn.00405245
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40b8b4
push ebx
call fcn.0048e40a
add esp, 4
push 0
push dword [ebp - 0x24]
push 0xffffffffffffffff
push 8
push 0x1601d557
push 0x52011cb0
call fcn.0048e428
add esp, 0x18
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40b8df
push ebx
call fcn.0048e40a
add esp, 4
push 0xa0dc38
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x14]
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x4904a0
call fcn.0048e410
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push 0x59149f
mov ecx, 2
call fcn.00405245
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40b933
push ebx
call fcn.0048e40a
add esp, 4
push 0
push dword [ebp - 0x24]
push 0xffffffffffffffff
push 8
push 0x1601d54a
push 0x52011cb0
call fcn.0048e428
add esp, 0x18
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40b95e
push ebx
call fcn.0048e40a
add esp, 4
push 0xa0dc58
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x10]
mov ebx, dword [ebp - 0x10]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.0048e40a
add esp, 4
mov esp, ebp
pop ebp
ret