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

Disassembly:
sub esp, 0x41c
mov eax, dword [0x1009de80]
xor eax, esp
mov dword [esp + 0x418], eax
push ebx
mov ebx, dword [esp + 0x424]
push ebp
mov eax, dword [ebx + 0x3c0]
mov ebp, dword [ebx + 0x3ac]
test eax, eax
je 0x1003327b
mov eax, dword [eax]
test eax, eax
je 0x1003327b
mov eax, dword [eax]
test eax, eax
je 0x1003327b
mov eax, dword [eax + 0x44]
test eax, eax
je 0x1003327b
push ebx
call eax
add esp, 4
jmp 0x100335f2
cmp byte [ebx + 0x357], 0
je 0x1003365e
test byte [ebx + 0x2ec], 1
jne 0x1003365e
cmp dword [ebx + 0x284], 0
je 0x1003365e
push 0
push 0
push 0x10035770
push 0x1009ef08
call dword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x10033389
push 0x3c8
lea eax, [esp + 0x1c]
push 0
push eax
call fcn.10051b60
push 0x10
push 1
call fcn.10058137
add esp, 0x14
mov dword [esp + 0x280], eax
test eax, eax
je 0x10033372
push 0x40
push 1
call fcn.10058137
add esp, 8
mov dword [esp + 0x3d8], eax
test eax, eax
je 0x10033372
push str.utf8mb4
mov byte [esp + 0x381], 1
mov dword [esp + 0x314], 0
call fcn.1003b600
mov dword [esp + 0x2ac], eax
mov eax, dword [str.00000]
mov dword [esp + 0x27b], eax
mov ax, word [0x10078b20]
mov word [esp + 0x27f], ax
mov eax, dword [esp + 0x284]
mov dword [esp + 0x3cc], 0x1009c320
mov dword [eax + 4], 0
mov eax, dword [esp + 0x3dc]
mov dword [esp + 0x74], 0
mov byte [esp + 0x7b], 0
mov byte [eax + 0x3c], 1
jmp 0x10033386
cmp byte [esp + 0x39c], 0
je 0x10033389
lea eax, [esp + 0x18]
push eax
call fcn.10053d66
add esp, 4
mov eax, dword [ebx + 0x3c0]
mov ecx, 0x22
push esi
push edi
mov byte [esp + 0x3a4], 0
lea esi, [ebx + 0x2f8]
lea edi, [esp + 0x318]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax]
test ecx, ecx
je 0x100333c8
mov eax, dword [esp + 0x3e0]
mov dword [eax], ecx
mov eax, dword [ebx + 0x3c0]
mov dword [eax], 0
mov eax, dword [ebx + 0x37c]
mov dword [esp + 0x348], 0
mov dword [esp + 0x34c], 0
test eax, eax
je 0x1003341e
mov eax, dword [eax + 0x14]
test eax, eax
je 0x1003341e
cmp byte [eax + 0x10], 0
je 0x1003341e
mov edi, eax
mov dword [esp + 0x14], ebx
lea eax, [esp + 0x20]
mov dword [esp + 0x18], eax
mov eax, dword [ebx]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x14]
push eax
push 0x10035100
push edi
call fcn.10042050
add esp, 0xc
jmp 0x10033420
xor edi, edi
mov eax, dword [ebx + 0x2dc]
or eax, 0x80000000
push eax
push dword [ebx + 0x27c]
lea eax, [esp + 0x28]
push dword [ebx + 0x2d8]
push dword [ebx + 0x28c]
push dword [ebx + 0x278]
push dword [ebx + 0x274]
push dword [ebx + 0x270]
push eax
call fcn.100303c0
test eax, eax
je 0x1003360b
mov eax, dword [ebx + 0x290]
mov esi, dword [eax + 8]
test esi, esi
je 0x100334d1
push esi
call fcn.1003b600
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
je 0x100334d1
push dword [eax + 8]
lea eax, [esp + 0x3ec]
push str.SET_NAMES__s
push 0x3f
push eax
call fcn.10004c00
lea ecx, [esp + 0x3f8]
add esp, 0x10
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100334a4
sub ecx, edx
lea eax, [esp + 0x3e8]
push ecx
push eax
lea eax, [esp + 0x28]
push eax
call fcn.100308e0
test eax, eax
jne 0x100334f1
mov eax, dword [esp + 0x10]
mov dword [esp + 0x2b0], eax
jmp 0x100334fc
push str.compiled_in
push esi
push 0
push dword [0x1009d94c]
lea eax, [esp + 0x30]
push 0x7e3
push eax
call fcn.1002f750
add esp, 0x18
cmp dword [esp + 0x78], 0
jne 0x1003360b
test ebp, ebp
je 0x1003355d
mov esi, dword [ebp + 8]
cmp dword [esi + 0x2c], 0
je 0x10033556
push 5
mov dword [esi + 0x2c], 0
lea eax, [esi + 0x2a5]
mov dword [esi + 0xa0], 0x7dd
push dword [0x1009d94c]
push eax
call fcn.10058150
push 0x200
mov byte [esi + 0x2aa], 0
lea eax, [esi + 0xa4]
push dword [0x1009d84c]
push eax
call fcn.10058150
add esp, 0x18
mov byte [esi + 0x2a3], 0
mov ebp, dword [ebp + 4]
test ebp, ebp
jne 0x10033500
mov al, byte [ebx + 0x384]
mov byte [esp + 0x3a4], al
mov eax, dword [ebx + 0x3ac]
mov dword [esp + 0x3cc], eax
mov dword [ebx + 0x3ac], 0
test edi, edi
je 0x10033592
push 0
push 0
push edi
call fcn.10042050
add esp, 0xc
push 0x88
lea eax, [ebx + 0x2f8]
push 0
push eax
call fcn.10051b60
add esp, 0xc
mov byte [ebx + 0x384], 0
push ebx
call fcn.100306d0
mov ecx, 0xf2
lea esi, [esp + 0x20]
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebx]
push ebx
mov dword [eax + 0x28], ebx
call fcn.1003a240
add esp, 4
mov dword [ebx + 0x2b8], 0xffffffff
mov dword [ebx + 0x2bc], 0xffffffff
xor al, al
mov dword [ebx + 0x288], 0
pop edi
pop esi
mov ecx, dword [esp + 0x420]
pop ebp
pop ebx
xor ecx, esp
call fcn.100503ce
add esp, 0x41c
ret 4
test edi, edi
je 0x1003361c
push 0
push 0
push edi
call fcn.10042050
add esp, 0xc
push 0x88
lea eax, [esp + 0x31c]
push 0
push eax
call fcn.10051b60
lea eax, [esp + 0x8b]
push eax
lea eax, [esp + 0x28f]
push eax
push dword [esp + 0x8c]
push ebx
call fcn.1002f750
add esp, 0x1c
lea eax, [esp + 0x20]
push eax
call fcn.100306d0
mov al, 1
jmp 0x100335f0
and dword [ebx + 0x2ec], 0xfffffffe
push 0
push dword [0x1009d94c]
push 0x7d6
push ebx
call fcn.1002f750
add esp, 0x10
mov al, 1
jmp 0x100335f2