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

Disassembly:
sub esp, 0x10
push ebx
mov ebx, ecx
push esi
mov esi, dword [esp + 0x1c]
push edi
mov eax, dword [ebx + 8]
mov edi, dword [esp + 0x24]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], eax
test al, 1
je 0x492d66
mov eax, dword [ebx + 0x78]
mov ecx, edi
push esi
and eax, 0xfffffffc
push eax
push 1
call fcn.004161d0
mov esi, eax
mov eax, dword [esp + 0x14]
test al, 2
je 0x492d7d
mov eax, dword [ebx + 0x7c]
mov ecx, edi
push esi
and eax, 0xfffffffc
push eax
push 2
call fcn.004161d0
mov esi, eax
lea eax, [ebx + 0x10]
push ebp
mov ecx, eax
mov dword [esp + 0x10], eax
call fcn.004197f0
xor ebp, ebp
mov dword [esp + 0x14], eax
test eax, eax
jle 0x492dfc
mov ebx, eax
nop dword [eax + eax]
mov ecx, dword [esp + 0x10]
push ebp
call fcn.004189c0
mov edx, dword [eax + 0x10]
mov dword [esp + 0x14], edx
cmp edx, 0x80
jge 0x492de6
mov ecx, dword [edi]
sub ecx, esi
add ecx, 0xe
cmp ecx, edx
jl 0x492de6
mov byte [esi], 0x1a
mov byte [esi + 1], dl
add esi, 2
cmp dword [eax + 0x14], 0x10
jb 0x492dd5
mov eax, dword [eax]
push edx
push eax
push esi
call fcn.004ad000
add esp, 0xc
add esi, dword [esp + 0x14]
jmp 0x492df3
push esi
push eax
push 3
mov ecx, edi
call fcn.0041e410
mov esi, eax
inc ebp
cmp ebp, ebx
jl 0x492da0
mov ebx, dword [esp + 0x1c]
mov eax, dword [ebx + 0x24]
xor ebp, ebp
mov dword [esp + 0x10], eax
test eax, eax
je 0x492e31
nop dword [eax]
mov eax, dword [ebx + 0x2c]
push edi
push esi
mov ecx, dword [eax + ebp*4 + 4]
mov eax, dword [ecx + 0xc]
push eax
push ecx
push 4
call fcn.00420890
inc ebp
add esp, 0x14
mov esi, eax
cmp ebp, dword [esp + 0x10]
jb 0x492e10
mov eax, dword [ebx + 0x34]
xor ebp, ebp
mov dword [esp + 0x10], eax
test eax, eax
je 0x492e61
nop
mov eax, dword [ebx + 0x3c]
push edi
push esi
mov ecx, dword [eax + ebp*4 + 4]
mov eax, dword [ecx + 0xc]
push eax
push ecx
push 5
call fcn.00420890
inc ebp
add esp, 0x14
mov esi, eax
cmp ebp, dword [esp + 0x10]
jb 0x492e40
mov eax, dword [ebx + 0x44]
xor ebp, ebp
mov dword [esp + 0x10], eax
test eax, eax
je 0x492e91
nop
mov eax, dword [ebx + 0x4c]
push edi
push esi
mov ecx, dword [eax + ebp*4 + 4]
mov eax, dword [ecx + 0xc]
push eax
push ecx
push 6
call fcn.00420890
inc ebp
add esp, 0x14
mov esi, eax
cmp ebp, dword [esp + 0x10]
jb 0x492e70
mov eax, dword [ebx + 0x54]
xor ebp, ebp
mov dword [esp + 0x10], eax
test eax, eax
je 0x492ec1
nop
mov eax, dword [ebx + 0x5c]
push edi
push esi
mov ecx, dword [eax + ebp*4 + 4]
mov eax, dword [ecx + 0xc]
push eax
push ecx
push 7
call fcn.00420890
inc ebp
add esp, 0x14
mov esi, eax
cmp ebp, dword [esp + 0x10]
jb 0x492ea0
mov eax, dword [esp + 0x18]
test al, 8
je 0x492ee6
mov ecx, dword [ebx + 0x84]
push edi
push esi
mov eax, dword [ecx + 0x18]
push eax
push ecx
push 8
call fcn.00420890
mov esi, eax
add esp, 0x14
mov eax, dword [esp + 0x18]
test al, 0x10
je 0x492f03
mov ecx, dword [ebx + 0x88]
push edi
push esi
mov eax, dword [ecx + 0x18]
push eax
push ecx
push 9
call fcn.00420890
add esp, 0x14
mov esi, eax
lea eax, [ebx + 0x60]
mov ecx, eax
mov dword [esp + 0x10], eax
call fcn.004197e0
xor ebp, ebp
mov dword [esp + 0x14], eax
test eax, eax
jle 0x492f55
mov ebx, dword [esp + 0x10]
nop
cmp esi, dword [edi]
jb 0x492f2e
push esi
mov ecx, edi
call fcn.0041d080
mov esi, eax
push ebp
mov ecx, ebx
call fcn.00418990
mov eax, dword [eax]
mov byte [esi], 0x50
inc esi
cdq
push esi
push edx
push eax
call fcn.004162c0
inc ebp
add esp, 0xc
mov esi, eax
cmp ebp, dword [esp + 0x14]
jl 0x492f20
mov ebx, dword [esp + 0x1c]
lea eax, [ebx + 0x6c]
mov ecx, eax
mov dword [esp + 0x10], eax
call fcn.004197e0
xor ebp, ebp
mov dword [esp + 0x14], eax
test eax, eax
jle 0x492fa6
mov ebx, dword [esp + 0x10]
cmp esi, dword [edi]
jb 0x492f7f
push esi
mov ecx, edi
call fcn.0041d080
mov esi, eax
push ebp
mov ecx, ebx
call fcn.00418990
mov eax, dword [eax]
mov byte [esi], 0x58
inc esi
cdq
push esi
push edx
push eax
call fcn.004162c0
inc ebp
add esp, 0xc
mov esi, eax
cmp ebp, dword [esp + 0x14]
jl 0x492f71
mov ebx, dword [esp + 0x1c]
test byte [esp + 0x18], 4
pop ebp
je 0x492fc4
mov eax, dword [ebx + 0x80]
mov ecx, edi
push esi
and eax, 0xfffffffc
push eax
push 0xc
call fcn.004161d0
mov esi, eax
test byte [ebx + 4], 1
je 0x492fe7
mov eax, dword [ebx + 4]
and eax, 0xfffffffc
push edi
add eax, 4
push esi
push eax
call fcn.00434320
add esp, 0xc
pop edi
pop esi
pop ebx
add esp, 0x10
ret 8
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 0x10
ret 8