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

Disassembly:
push ebx
push esi
push edi
mov edi, dword [esp + 0x10]
mov eax, 0xef53
mov esi, ecx
cmp word [edi + 0x38], ax
je 0x1004216a
xor al, al
jmp 0x10042395
mov eax, dword [edi + 0x18]
push ebp
mov dword [esi], eax
mov eax, dword [edi + 0x1c]
xor ebp, ebp
mov dword [esi + 4], eax
cmp eax, ebp
je 0x10042184
cmp dword [esi], eax
jne 0x10042392
mov eax, dword [esi]
cmp eax, 6
ja 0x10042392
lea ecx, [eax + 0xa]
mov dword [esi], ecx
mov eax, dword [edi]
mov dword [esi + 8], eax
mov eax, dword [edi + 4]
mov edx, dword [esi + 8]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ebp
mov eax, dword [edi + 0xc]
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ebp
mov eax, dword [edi + 0x10]
mov dword [esi + 0x20], eax
cmp edx, 2
jb 0x10042392
cmp edx, eax
jbe 0x10042392
xor eax, eax
cmp ecx, 0xa
sete al
cmp dword [edi + 0x14], eax
jne 0x10042392
mov eax, dword [edi + 0x20]
mov dword [esi + 0x24], eax
mov eax, dword [edi + 0x24]
mov ebx, dword [esi + 0x24]
mov dword [esi + 0x28], eax
cmp ebx, eax
jne 0x10042392
cmp ebx, ebp
je 0x10042392
mov eax, dword [edi + 0x28]
mov dword [esi + 0x2c], eax
cmp eax, 1
jb 0x10042392
cmp eax, edx
ja 0x10042392
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x30], eax
mov eax, dword [edi + 0x30]
mov dword [esi + 0x34], eax
mov eax, dword [edi + 0x40]
mov dword [esi + 0x38], eax
mov eax, dword [edi + 0x48]
mov dword [esi + 0x3c], eax
mov eax, dword [edi + 0x4c]
push 0xb
pop edx
mov dword [esi + 0x40], eax
lea eax, [edx + 0x75]
mov dword [esi + 0x44], edx
mov word [esi + 0x48], ax
cmp dword [esi + 0x40], ebp
je 0x1004227f
mov eax, dword [edi + 0x54]
mov dword [esi + 0x44], eax
movzx eax, word [edi + 0x58]
mov word [esi + 0x48], ax
cmp dword [esi + 0x44], edx
jb 0x10042392
xor edx, edx
inc edx
shl edx, cl
movzx eax, ax
cmp eax, edx
ja 0x10042392
xor ecx, ecx
xor edx, edx
inc edx
shl edx, cl
cmp edx, eax
je 0x10042277
inc ecx
cmp ecx, 0x20
jb 0x10042265
or ecx, 0xffffffff
cmp ecx, ebp
jl 0x10042392
mov ax, word [edi + 0x5a]
mov word [esi + 0x4a], ax
mov eax, dword [edi + 0x5c]
mov dword [esi + 0x4c], eax
mov eax, dword [edi + 0x60]
mov dword [esi + 0x50], eax
mov eax, dword [edi + 0x64]
mov dword [esi + 0x54], eax
push 0x10
lea eax, [edi + 0x68]
push eax
lea eax, [esi + 0x58]
push eax
call fcn.100b0db0
push 0x10
lea eax, [edi + 0x78]
push eax
lea eax, [esi + 0x68]
push eax
call fcn.100b0db0
push 0x40
lea eax, [edi + 0x88]
push eax
lea eax, [esi + 0x78]
push eax
call fcn.100b0db0
mov eax, dword [edi + 0xe0]
mov dword [esi + 0xb8], eax
mov ax, word [edi + 0xfe]
mov word [esi + 0xbc], ax
mov eax, dword [edi + 0x108]
mov dword [esi + 0xc0], eax
mov eax, dword [esi + 0x50]
shr eax, 7
add esp, 0x24
test al, 1
je 0x10042314
mov eax, dword [edi + 0x96]
or dword [esi + 0x10], ebp
or dword [esi + 0x14], eax
mov eax, dword [edi + 0x158]
or dword [esi + 0x18], ebp
or dword [esi + 0x1c], eax
mov ebx, dword [esi + 0x10]
mov ebp, dword [esi + 0x14]
push 0x3f
pop ecx
sub ecx, dword [esi]
xor eax, eax
inc eax
xor edx, edx
call fcn.100b1ad0
cmp ebp, edx
jb 0x10042333
ja 0x10042392
cmp ebx, eax
jae 0x10042392
mov ax, word [edi + 0x15c]
mov word [esi + 0xc4], ax
mov eax, dword [edi + 0x178]
mov dword [esi + 0xc8], eax
mov eax, dword [edi + 0x17c]
mov dword [esi + 0xcc], eax
test ebp, ebp
ja 0x10042364
jb 0x10042392
cmp ebx, 1
jb 0x10042392
mov eax, dword [esi + 0x1c]
cmp eax, ebp
jb 0x10042374
ja 0x10042392
mov eax, dword [esi + 0x18]
cmp eax, ebx
ja 0x10042392
mov ecx, esi
call fcn.100420ec
mov ecx, esi
mov edi, eax
mov ebx, edx
call fcn.1004210d
cmp edi, eax
jne 0x10042392
cmp ebx, edx
jne 0x10042392
mov al, 1
jmp 0x10042394
xor al, al
pop ebp
pop edi
pop esi
pop ebx
ret 4