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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
in al, 0xf8
sub esp, 0x8c
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
push ebx
push esi
xor ecx, ecx
push edi
mov edi, dword [edx + 0xc]
mov dword [esp + 0x18], eax
mov eax, dword [edx]
mov dword [esp + 0xc], edi
mov dword [esp + 0x28], ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x14], eax
cmp edi, ecx
jne 0x10045a47
xor eax, eax
jmp 0x10046456
mov ebx, dword [ebp + 0xc]
cmp ebx, ecx
je 0x10045f0f
movzx esi, byte [ebx]
cmp esi, 0x62
jg 0x10045f1a
je 0x10045f0f
cmp esi, 0x46
jg 0x10045c76
je 0x10046043
cmp esi, 0x25
jg 0x10045b10
je 0x10045aad
mov eax, esi
sub eax, 0x13
je 0x10045ead
invalid
dec eax
je 0x10046383
sub eax, 4
jne 0x10045b30
push dword [ebp + 0x10]
push dword [ebx + 8]
push edx
call fcn.10045a0c
add esp, 0xc
jmp 0x10045f49
push dword [ebp + 0x10]
push dword [ebx + 8]
push edx
call fcn.10045a0c
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 4]
add esp, 0xc
call fcn.10049c7b
movsx esi, al
mov eax, dword [ebp + 0x10]
add esi, 0x2c
cmp dword [esp + 0x18], eax
je 0x10045aee
mov ebx, eax
push ebx
cmp esi, 0x38
je 0x10045c22
cmp esi, 0x3c
je 0x10045bcf
cmp esi, 0x43
jle 0x10045b30
cmp esi, 0x45
jle 0x10045ed5
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax + 0xc]
mov eax, dword [eax]
add byte [ebx + 0x142464], al
mov dword [esp + 0x30], eax
mov eax, edi
mov dword [esp + 0x10], ecx
call fcn.1003950c
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 8]
mov dword [esp + 0x20], eax
test eax, eax
je 0x10045b98
push 0xc
pop ecx
mov esi, eax
push eax
push dword [ebp + 8]
lea edi, [esp + 0x40]
rep movsd dword es:[edi], dword [esi]
lea edi, [esp + 0x30]
call fcn.100464c2
and dword [esp + 0x30], 0
mov dword [esp + 0x58], eax
lea eax, [esp + 0x40]
mov dword [esp + 0x78], eax
pop ecx
lea eax, [esp + 0x6c]
pop ecx
mov byte [esp + 0x38], 0x84
mov byte [esp + 0x68], 0x4c
mov dword [esp + 0x14], eax
cmp dword [esp + 0x30], 0
jle 0x100463fa
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x10]
dec eax
shr eax, 1
inc eax
mov esi, dword [ebx + 0x28]
mov eax, dword [esi + 8]
movsx ecx, word [ebx + 0x1c]
push dword [ebp + 0x10]
inc eax
imul eax, dword [ebx + 0x18]
lea eax, [eax + ecx + 1]
push eax
push 0x6d
mov eax, edi
call int.1003945b
movzx eax, word [ebx + 0x1c]
add esp, 0xc
test ax, ax
jl 0x1004643d
mov ecx, dword [esi + 0xc]
cwde
imul eax, eax, 0x18
cmp byte [eax + ecx + 0x16], 0x65
jne 0x1004643d
test dword [eax + ecx], ebp
add byte [eax], al
push dword [ebp + 0x10]
mov eax, edi
push 0x16
call fcn.10039446
jmp 0x10045fbc
cmp dword [edx + 0x1ac], ecx
jne 0x10045c3c
push 0x1009d120
mov edi, edx
call fcn.10028b82
pop ecx
jmp 0x10045a40
cmp byte [ebx + 1], 2
jne 0x10045c49
mov ecx, edx
call fcn.1004c25b
mov al, byte [ebx + 1]
cmp al, 4
jne 0x10045c61
xor eax, eax
push eax
push dword [ebx + 4]
push eax
push 4
push eax
push 6
jmp 0x10045e9f
push 0
push dword [ebx + 4]
movsx eax, al
push eax
mov eax, edx
call fcn.1004c26f
jmp 0x10046033
cmp esi, 0x50
jg 0x10045e77
cmp esi, 0x4b
jge 0x10045e36
cmp esi, 0x47
je 0x10045d68
cmp esi, 0x48
je 0x10045cf7
jle 0x10045b30
cmp esi, 0x4a
jg 0x10045b30
push 0
push dword [ebp + 0x10]
mov eax, edi
push 1
push 7
call fcn.100393e0
push dword [ebx + 8]
lea edi, [esp + 0x3c]
push dword [ebp + 8]
call fcn.100464c2
push eax
push esi
mov esi, dword [esp + 0x2c]
mov eax, esi
call fcn.10039446
push 0
push 0xffffffffffffffff
push dword [ebp + 0x10]
mov edi, eax
push 0x14
mov eax, esi
call fcn.100393e0
mov edx, dword [esi + 0x1c]
add esp, 0x30
mov eax, edi
mov ecx, esi
call fcn.100396bc
jmp 0x1004643d
mov eax, edi
call fcn.1003950c
mov dword [esp + 0x20], eax
mov eax, edi
call fcn.1003950c
xor esi, esi
push esi
push dword [ebp + 0x10]
mov dword [esp + 0x1c], eax
push esi
push 0xa
mov eax, edi
call fcn.100393e0
push dword [esp + 0x24]
mov eax, ebx
push dword [esp + 0x34]
push dword [ebp + 8]
call fcn.100454f9
add esp, 0x1c
push esi
push dword [ebp + 0x10]
mov eax, edi
push 1
push 7
call fcn.100393e0
mov edx, dword [esp + 0x30]
mov ecx, edi
call fcn.10039558
push esi
push esi
push dword [ebp + 0x10]
mov eax, edi
push 0x14
call fcn.100393e0
mov edx, dword [esp + 0x34]
add esp, 0x20
mov ecx, edi
jmp 0x10046438
mov ecx, dword [ebx + 0x10]
mov eax, dword [ebx + 8]
mov esi, dword [ecx + 0xc]
mov ecx, dword [esi]
push eax
mov ebx, edx
push ebx
lea edi, [esp + 0x30]
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], ecx
call fcn.100464c2
push dword [esp + 0x28]
lea edi, [esp + 0x40]
push ebx
mov dword [esp + 0x34], eax
call fcn.100464c2
mov edx, eax
mov eax, ebx
call fcn.10046ff3
mov dword [esp + 0x24], eax
mov eax, ebx
call fcn.10046ff3
push 0x10
push dword [esp + 0x28]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x38]
push edx
push dword [esp + 0x40]
mov edi, ebx
push 0x50
push dword [esp + 0x34]
call fcn.10043ef9
mov edx, dword [esp + 0x5c]
mov esi, dword [esi + 0x14]
mov eax, ebx
call fcn.1004700e
push esi
push ebx
lea edi, [esp + 0x64]
call fcn.100464c2
push 0x10
push dword [esp + 0x50]
mov edi, ebx
push eax
push dword [esp + 0x60]
mov eax, esi
push 0x4e
push dword [esp + 0x54]
call fcn.10043ef9
mov eax, dword [esp + 0x54]
add esp, 0x48
push dword [ebp + 0x10]
push dword [esp + 0x20]
push dword [esp + 0x1c]
push 0x45
call fcn.100393e0
mov edx, dword [esp + 0x24]
add esp, 0x10
mov eax, ebx
call fcn.1004700e
mov edx, dword [esp + 0x1c]
call fcn.1004700e
jmp 0x1004643d
push dword [ebx + 8]
lea edi, [esp + 0x2c]
push edx
call fcn.100464c2
push dword [ebx + 0xc]
lea edi, [esp + 0x40]
push dword [ebp + 8]
mov dword [esp + 0x34], eax
call fcn.100464c2
push 0x10
push dword [ebp + 0x10]
push eax
push dword [esp + 0x40]
push esi
push dword [ebx + 8]
mov eax, dword [ebx + 0xc]
mov edi, dword [ebp + 8]
call fcn.10043ef9
add esp, 0x28
jmp 0x1004643d
cmp esi, 0x52
jl 0x10045b30
cmp esi, 0x5b
jle 0x10045ed5
cmp esi, 0x5d
je 0x10045ead
cmp esi, 0x5e
jne 0x10045b30
xor eax, eax
push eax
push dword [ebx + 4]
push eax
push dword [ebp + 0x10]
push eax
push esi
push edi
call fcn.10039472
add esp, 0x1c
jmp 0x1004643d
push dword [ebx + 8]
lea edi, [esp + 0x2c]
push edx
call fcn.100464c2
mov ecx, dword [ebp + 0x10]
push ecx
push eax
mov eax, dword [esp + 0x1c]
push esi
mov dword [esp + 0x2c], ecx
call int.1003945b
add esp, 0x14
jmp 0x1004643d
push dword [ebx + 8]
lea edi, [esp + 0x2c]
push edx
call fcn.100464c2
push dword [ebx + 0xc]
lea edi, [esp + 0x40]
push dword [ebp + 8]
mov dword [esp + 0x34], eax
call fcn.100464c2
push dword [ebp + 0x10]
push dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x28]
push esi
call fcn.100393e0
add esp, 0x20
jmp 0x1004643d
push 0
push dword [ebp + 0x10]
push 0
push 0xa
jmp 0x10045f63
lea ecx, [esi - 0x74]
cmp ecx, 0x29
ja 0x10045b30
movzx ecx, byte [ecx + 0x10046698]
jmp dword [ecx*4 + 0x10046660]
mov dword [esp + 0x18], eax
jmp 0x1004643d
mov eax, edi
call fcn.100393e0
add esp, 0x10
jmp 0x1004643d
pop ecx
jmp 0x1004643d
pop ecx
jmp 0x10045fa9
add esp, 0xc
jmp 0x1004643d
push dword [ebx + 8]
lea edi, [esp + 0x2c]
push edx
call fcn.100464c2
push dword [ebx + 0xc]
lea edi, [esp + 0x40]
push dword [ebp + 8]
mov dword [esp + 0x34], eax
call fcn.100464c2
push 0x90
push dword [ebp + 0x10]
push eax
push dword [esp + 0x40]
xor eax, eax
cmp esi, 0x46
sete al
add eax, 0x4b
push eax
jmp 0x10045e61
push 0
push 0
push ebx
mov ebx, edx
call fcn.1004513e
jmp 0x10045aa5