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

Disassembly:
sub esp, 0xc8
push ebx
push ebp
push esi
xor ecx, ecx
push edi
mov edi, dword [esp + 0xdc]
mov ebx, dword [edi + 0x4c]
mov dword [esp + 0x10], ecx
mov eax, dword [ebx + 0xc]
xor edx, edx
xor ebp, ebp
xor esi, esi
cmp dword [eax + 0x818], 0x222cf80
mov dword [esp + 0x1c], eax
setne dl
mov dword [esp + 0x18], ecx
mov eax, edx
cmp eax, ecx
mov dword [esp + 0x28], eax
je 0x224802a
mov eax, dword [esp + 0xe0]
mov ecx, dword [eax]
push ecx
call fcn.02264a20
add esp, 4
mov dword [esp + 0x18], eax
xor ecx, ecx
mov edx, dword [esp + 0xe0]
mov dword [edi + 0x5c], ecx
mov eax, dword [edx]
push eax
call fcn.02264600
add esp, 4
test eax, eax
jne 0x224842b
mov ecx, dword [esp + 0xe0]
mov edx, dword [ecx]
push edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x30], eax
call fcn.022645e0
mov eax, dword [ebx + 0x2b4]
push eax
call fcn.0226b115
mov esi, eax
add esp, 8
test esi, esi
mov dword [esp + 0x20], esi
jne 0x224808b
pop edi
pop esi
pop ebp
mov eax, 0x446
pop ebx
add esp, 0xc8
ret
mov eax, dword [esp + 0x28]
test eax, eax
je 0x22480a9
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
push ecx
push 0
push 1
push edx
call fcn.0222cfe0
add esp, 0x10
test byte [edi + 0x54], 8
jne 0x22480b9
cmp dword [esp + 0xe4], 1
jne 0x22480bf
cmp dword [edi + 0x78], 0xffffffff
je 0x224810c
mov dword [esp + 0x24], 1
call fcn.02264420
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xe0]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x224810c
mov eax, dword [esp + 0x18]
cmp eax, 0x200
mov ecx, 0x200
jg 0x22480f4
mov ecx, eax
jmp 0x22480f9
mov eax, 0x200
push ecx
push eax
push 4
call fcn.022640f0
mov edx, dword [esp + 0x20]
add esp, 0xc
mov dword [edx + 0xc], eax
mov eax, dword [0x2288380]
test eax, eax
je 0x2248120
call fcn.0223ef10
lea ebx, [ebx]
mov ecx, dword [esp + 0xe0]
mov edx, dword [ecx]
lea eax, [esp + 0x10]
push eax
push edx
call fcn.02264940
mov eax, dword [esp + 0x18]
add esp, 8
cmp eax, 0xffffffff
je 0x224836b
push esi
push eax
push ebx
call fcn.02260350
mov ebp, eax
add esp, 0xc
test ebp, ebp
jne 0x224839e
mov eax, dword [esp + 0x28]
test eax, eax
je 0x2248187
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
push ecx
inc eax
push eax
push 2
push edx
mov dword [esp + 0x3c], eax
call fcn.0222cfe0
add esp, 0x10
test eax, eax
jne 0x224825f
mov ecx, dword [esp + 0xe4]
mov eax, 1
cmp ecx, eax
mov dword [esp + 0x30], eax
je 0x22481b4
mov ecx, dword [esp + 0x10]
mov edx, dword [edi + 0x50]
lea eax, [esp + 0x30]
push eax
push ecx
push esi
push edx
call fcn.02215200
add esp, 0x10
mov ebp, eax
test ebp, ebp
jne 0x22483c5
mov eax, dword [esp + 0x30]
test eax, eax
mov al, byte [edi + 0x54]
je 0x224837f
test al, 0x10
mov dword [esp + 0x34], ebp
je 0x2248269
mov eax, dword [esp + 0x24]
test eax, eax
je 0x22481f3
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push 0xffffffffffffffff
push eax
push ecx
call fcn.02264630
add esp, 0xc
mov ecx, dword [edi + 0x5c]
inc ecx
mov dword [edi + 0x5c], ecx
mov esi, ecx
mov ecx, dword [edi + 0x78]
cmp ecx, 0xffffffff
je 0x224836f
test esi, esi
jle 0x224836f
mov eax, esi
cdq
idiv ecx
test edx, edx
jne 0x224836f
lea edx, [ebx + 0x18]
push edx
lea eax, [esp + 0x44]
push eax
mov dword [esp + 0x40], ebx
call fcn.0226b20c
mov ecx, dword [edi + 0x58]
mov eax, dword [esp + 0x24]
add esp, 8
lea edx, [esp + 0x38]
push edx
push 0x68
mov dword [esp + 0x44], esi
mov dword [esp + 0x88], ecx
call dword [eax + 0x818]
cmp eax, 2
je 0x224825f
cmp eax, 1
jne 0x224836f
mov ebp, 0x45f
jmp 0x22483c5
mov esi, dword [esp + 0xe8]
test esi, esi
jne 0x2248284
mov ecx, dword [esp + 0x20]
push ecx
push edi
call fcn.02247590
add esp, 8
jmp 0x2248297
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x34]
push edx
push eax
push edi
call fcn.02247f90
add esp, 0xc
mov ebp, eax
cmp ebp, 0x3ff
jne 0x22482c1
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xe0]
mov eax, dword [edx]
push 0xffffffffffffffff
push ecx
push eax
xor ebp, ebp
call fcn.02264850
add esp, 0xc
jmp 0x224836f
test ebp, ebp
jne 0x2248363
mov eax, dword [esp + 0x24]
test eax, eax
je 0x22482ff
test esi, esi
jne 0x22482e3
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push 0xffffffffffffffff
push ecx
push edx
jmp 0x22482f7
mov eax, dword [esp + 0x34]
test eax, eax
je 0x22482ff
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push 0xffffffffffffffff
push eax
push ecx
call fcn.02264630
add esp, 0xc
mov ecx, dword [edi + 0x78]
cmp ecx, 0xffffffff
mov esi, dword [edi + 0x5c]
je 0x224836f
test esi, esi
jle 0x224836f
mov eax, esi
cdq
idiv ecx
test edx, edx
jne 0x224836f
lea edx, [ebx + 0x18]
push edx
lea eax, [esp + 0x94]
push eax
mov dword [esp + 0x90], ebx
call fcn.0226b20c
mov ecx, dword [edi + 0x58]
mov eax, dword [esp + 0x24]
add esp, 8
lea edx, [esp + 0x88]
push edx
push 0x68
mov dword [esp + 0x94], esi
mov dword [esp + 0xd8], ecx
call dword [eax + 0x818]
cmp eax, 2
je 0x22483c5
cmp eax, 1
je 0x22483c5
jmp 0x224836f
cmp ebp, 0x45f
je 0x22483c3
test ebp, ebp
jne 0x22483c5
cmp dword [esp + 0x10], 0xffffffff
je 0x22483c5
mov esi, dword [esp + 0x20]
jmp 0x2248120
test al, 8
jne 0x224836f
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xe0]
mov eax, dword [edx]
push 0xffffffffffffffff
push ecx
push eax
call fcn.02264850
add esp, 0xc
jmp 0x224836f
cmp ebp, 0x45d
jne 0x224836b
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xe0]
mov eax, dword [edx]
push 0xffffffffffffffff
push ecx
push eax
call fcn.02264850
add esp, 0xc
xor ebp, ebp
jmp 0x224836f
xor ebp, ebp
mov eax, dword [esp + 0x24]
test eax, eax
je 0x22483e5
mov esi, dword [esp + 0xe0]
mov ecx, dword [esi]
push ecx
call fcn.022645a0
mov edx, dword [esp + 0x18]
add esp, 4
mov dword [esi], edx
mov eax, dword [esp + 0x28]
test eax, eax
je 0x2248406
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x1c]
push eax
push ecx
push 3
push edx
call fcn.0222cfe0
add esp, 0x10
test ebp, ebp
je 0x2248415
mov eax, dword [edi + 0x68]
push eax
call fcn.022490b0
jmp 0x2248424
mov ecx, dword [edi + 0x68]
mov edx, dword [ecx + 0x598]
push edx
call fcn.022642f0
mov esi, dword [esp + 0x24]
add esp, 4
test esi, esi
mov dword [edi + 0x5c], 0
je 0x224843f
push esi
call fcn.0226affd
add esp, 4
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0xc8
ret