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

Disassembly:
sub esp, 0x30
mov eax, dword [0x1023904c]
xor eax, esp
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x38]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x20], eax
xor ebx, ebx
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x14]
push eax
push ebx
push ebx
push ebx
mov dword [esp + 0x24], ebx
mov ebp, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], ebx
call fcn.10214220
mov edi, eax
test edi, edi
js 0x10215b16
test byte [esp + 0x2c], 4
je 0x102159ee
mov ebp, dword [esp + 0x10]
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0x24]
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [eax + 0x14]
mov esi, ebx
call fcn.1001c9e1
mov edi, eax
test edi, edi
js 0x10215b1a
mov ecx, dword [esp + 0x24]
mov edx, dword [ebp + 0x18]
mov dword [esp + 0x10], ecx
cmp edx, dword [ecx + 0xc]
jbe 0x1021598c
mov eax, ebx
jmp 0x10215991
mov eax, dword [ecx + 8]
add eax, edx
mov eax, dword [eax + 8]
mov edx, ebx
cmp eax, 0xffffffff
je 0x10215ae2
cmp eax, dword [ecx + 0xc]
ja 0x102159a9
mov ebx, dword [ecx + 8]
add ebx, eax
mov eax, dword [esp + 0x44]
cmp dword [ebx + 8], eax
jne 0x102159de
push dword [esp + 0x4c]
mov ecx, ebx
push dword [esp + 0x24]
mov dword [esp + 0x24], 1
call fcn.100dd101
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx + 0x78]
push eax
call fcn.1002fba2
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
mov eax, dword [ebx + 4]
push 0
pop ebx
test edx, edx
jne 0x10215ae2
jmp 0x10215996
mov esi, dword [esp + 0x10]
mov eax, dword [esi]
lea ecx, [esp + 0x28]
push ecx
push esi
call dword [eax + 0xc]
mov edi, eax
test edi, edi
js 0x10215b1a
mov ecx, dword [esp + 0x28]
movzx eax, word [ecx + 0x2e]
push ecx
mov dword [esp + 0x14], eax
mov eax, dword [esi]
push esi
call dword [eax + 0x4c]
cmp dword [esp + 0x10], ebx
jbe 0x10215ae6
mov eax, dword [esi]
lea ecx, [esp + 0x14]
push ecx
push ebx
push esi
call dword [eax + 0x18]
mov edi, eax
test edi, edi
js 0x10215b1a
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 8]
movzx edx, word [eax]
cmp edx, 3
jne 0x10215a56
mov ecx, dword [esp + 0x44]
cmp dword [eax + 8], ecx
mov ecx, dword [esp + 0x14]
je 0x10215a65
cmp edx, 2
jne 0x10215ac8
movsx eax, word [eax + 8]
cmp eax, dword [esp + 0x44]
jne 0x10215ac8
mov eax, dword [esi]
xor edx, edx
push edx
push edx
push edx
lea edx, [esp + 0x24]
push edx
push dword [ecx]
push esi
call dword [eax + 0x30]
mov edi, eax
test edi, edi
js 0x10215b1a
lea ecx, [esp + 0x18]
call fcn.1015692e
mov edi, eax
test edi, edi
js 0x10215b1a
mov ecx, dword [esp + 0x4c]
lea eax, [ecx - 1]
push eax
push dword [esp + 0x1c]
push ecx
push dword [esp + 0x2c]
call dword [sym.imp.msvcr100.dll__mbsnbcpy_s]
add esp, 0x10
push dword [esp + 0x18]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
and dword [esp + 0x18], ebp
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x1c], 1
mov eax, dword [esi]
push ecx
push esi
call dword [eax + 0x54]
and dword [esp + 0x14], ebp
inc ebx
cmp ebx, dword [esp + 0x10]
jb 0x10215a24
mov edx, dword [esp + 0x1c]
test edx, edx
jne 0x10215b1a
push 0xa
push 0xc
lea eax, [esp + 0x38]
push eax
push dword [esp + 0x50]
call dword [sym.imp.msvcr100.dll__itoa_s]
mov ecx, dword [esp + 0x5c]
lea eax, [ecx - 1]
push eax
lea eax, [esp + 0x44]
push eax
push ecx
push dword [esp + 0x3c]
call dword [sym.imp.msvcr100.dll__mbsnbcpy_s]
add esp, 0x20
jmp 0x10215b1a
mov esi, dword [esp + 0x10]
push dword [esp + 0x18]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp dword [esp + 0x14], 0
je 0x10215b35
push dword [esp + 0x14]
mov eax, dword [esi]
push esi
call dword [eax + 0x54]
test esi, esi
je 0x10215b3f
mov eax, dword [esi]
push esi
call dword [eax + 8]
test ebp, ebp
je 0x10215b4a
mov eax, dword [ebp]
push ebp
call dword [eax + 8]
mov ecx, dword [esp + 0x3c]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10001e57
add esp, 0x30
ret 0xc