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

Disassembly:
sub esp, 0xd8
push ebx
mov ebx, dword [esp + 0xe4]
push ebp
push esi
mov esi, dword [esp + 0xe8]
mov ebp, dword [esi + 0xc]
push edi
lea eax, [esp + 0x50]
xor edi, edi
push eax
push esi
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x54], ebp
mov dword [esp + 0x20], edi
call fcn.02260580
add esp, 8
cmp eax, edi
mov dword [esp + 0x10], eax
jne 0x224b508
xor ecx, ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], ecx
push 0x2c
push ebx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x2c], esi
call fcn.0225d840
inc eax
push 0xc8
push eax
mov dword [esp + 0x38], eax
call fcn.0226b127
mov edx, dword [esp + 0x104]
shr edx, 1
mov ecx, eax
mov eax, dword [esp + 0x108]
not edx
and edx, 1
add esp, 0x10
cmp eax, edi
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x34], edi
mov dword [esp + 0x3c], edx
mov dword [esp + 0x38], edi
jne 0x224b301
mov eax, dword [ebp + 0xd64]
cmp ecx, edi
mov dword [esp + 0x48], eax
jne 0x224b320
pop edi
pop esi
mov dword [esp + 8], 0x446
mov eax, dword [esp + 8]
pop ebp
pop ebx
add esp, 0xd8
ret
mov ecx, dword [esi + 0x2b4]
mov dword [esp + 0x30], ecx
cmp word [ebx], di
je 0x224b473
mov dword [esp + 0x14], edi
jmp 0x224b340
cmp dword [esp + 0x10], edi
jne 0x224b4f3
mov ebp, dword [esp + 0xf4]
not ebp
push ebx
and ebp, 1
call fcn.02208580
push 0x20
push 0x227861c
lea edx, [esp + 0xb4]
push edx
push eax
call fcn.02253450
mov ebx, eax
add esp, 0x14
cmp word [ebx], 0x2c
jne 0x224b381
add ebx, 2
jmp 0x224b3ca
push 0x20
push 0x227861c
lea eax, [esp + 0x70]
push eax
push ebx
call fcn.02253450
lea ecx, [esp + 0x78]
push 0x2278614
push ecx
mov ebx, eax
call fcn.0226b66a
add esp, 0x18
test eax, eax
jne 0x224b3b2
mov ebp, 1
jmp 0x224b3ca
lea edx, [esp + 0x68]
push str.desc
push edx
call fcn.0226b66a
add esp, 8
test eax, eax
jne 0x224b3ca
xor ebp, ebp
lea eax, [esp + 0xa8]
push eax
push esi
call fcn.0225ee50
add esp, 8
cmp eax, edi
jne 0x224b3e9
mov dword [esp + 0x10], 0x41e
jmp 0x224b45c
mov ecx, dword [esp + 0x18]
cmp ecx, dword [esp + 0x28]
jl 0x224b3fd
mov dword [esp + 0x10], 0x41f
jmp 0x224b45c
test ebp, ebp
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x14]
lea edi, [ecx + edx]
mov ecx, 0x32
mov esi, eax
rep movsd dword es:[edi], dword [esi]
je 0x224b42a
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x14]
or dword [ecx + eax + 0xa0], 0x2000000
jmp 0x224b43d
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x14]
and dword [eax + ecx + 0xa0], 0xfdffffff
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0xec]
inc ecx
add eax, 0xc8
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], eax
xor edi, edi
cmp word [ebx], di
jne 0x224b340
cmp dword [esp + 0x10], edi
jne 0x224b4f3
mov ebp, dword [esp + 0x4c]
lea edx, [esp + 0x54]
push edx
push ebp
call fcn.0222d040
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x28]
push ecx
push esi
call fcn.0223c6f0
add esp, 0x14
cmp eax, edi
mov dword [esp + 0x10], eax
jne 0x224b4e5
test byte [esp + 0xf4], 0x20
jne 0x224b4ad
push edi
push esi
call fcn.02260170
add esp, 8
mov edx, dword [esp + 0x50]
push edx
lea eax, [esp + 0x28]
push edi
push eax
call fcn.0224ac90
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push ecx
push edx
push esi
mov dword [esp + 0x28], eax
call fcn.0223c5f0
mov eax, dword [esp + 0x34]
add esp, 0x18
cmp eax, edi
je 0x224b4e5
push eax
call fcn.0226affd
add esp, 4
lea eax, [esp + 0x54]
push eax
push ebp
call fcn.0222d070
add esp, 8
mov eax, dword [esp + 0x2c]
cmp eax, edi
je 0x224b504
push eax
call fcn.0226affd
add esp, 4
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xd8
ret