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

Disassembly:
sub esp, 0x88
push ebx
push ebp
mov ebp, dword [esp + 0x98]
push esi
push edi
lea ecx, [esp + 0xa8]
call fcn.0040c820
mov edx, dword [esp + 0x9c]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x1c]
push ecx
push edx
push 0x49f310
call fcn.0044363a
test al, al
je case.0x46cc3d.8
mov eax, dword [esp + 0x18]
mov ecx, dword [0x49f370]
mov edx, dword [ecx + eax*4]
mov eax, dword [edx]
mov ecx, dword [0x49f384]
mov ebx, dword [esp + 0x1c]
mov edx, dword [ecx + ebx*4]
mov esi, dword [edx]
mov dl, byte [esi + 0x78]
mov edi, dword [esi]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x24]
push eax
mov byte [esp + 0x1b], dl
call fcn.00437ade
movzx ecx, dl
add ecx, 0xfffffffa
add esp, 4
mov dword [esp + 0x1c], eax
cmp ecx, 0x14
ja case.0x46cc3d.8
movzx ecx, byte [ecx + 0x46d32a]
jmp dword [ecx*4 + 0x46d30e]
push 0xfffffffffffffff0
push edi
call dword [0x47d608]
test al, al
jns 0x46ccc2
push 0x2010
push 0
push 0
push 0
push ebp
push 0
call dword [0x47d540]
mov ebx, eax
test ebx, ebx
je case.0x46cc3d.8
push ebx
push 0
push 0xf7
push edi
call dword [0x47d634]
mov eax, dword [esi + 0x50]
test eax, eax
je 0x46cc8c
push eax
call dword [0x47d0c4]
mov eax, dword [esi + 0x54]
test eax, eax
je 0x46cc9a
push eax
call dword [0x47d6e0]
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], 0
lea esi, [esp + 0xa8]
call fcn.0040bd60
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88
ret 0x1c
cmp dword [esp + 0x24], 0xffffffff
jne 0x46cd41
cmp byte [esp + 0x17], 0x18
jne 0x46cd41
push 0x2010
push 0
push 0
push 1
push ebp
push 0
call dword [0x47d540]
mov ebx, eax
test ebx, ebx
je 0x46d2d5
push ebx
push 1
push 0xf7
push edi
call dword [0x47d634]
mov eax, dword [esi + 0x50]
test eax, eax
je 0x46cd0b
push eax
call dword [0x47d0c4]
mov eax, dword [esi + 0x54]
test eax, eax
je 0x46cd19
push eax
call dword [0x47d6e0]
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], ebx
lea esi, [esp + 0xa8]
call fcn.0040bd60
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88
ret 0x1c
mov ecx, dword [esp + 0x1c]
push 1
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x30]
push eax
push ecx
push ebp
call dword [0x47d46c]
test eax, eax
jle case.0x46cc3d.8
cmp dword [esp + 0xa4], 0
mov ebp, dword [0x47d6e0]
je 0x46cd7c
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x28]
push edx
jmp 0x46cd85
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x20]
push eax
call ebp
push ebx
push 1
push 0xf7
push edi
call dword [0x47d634]
mov eax, dword [esi + 0x50]
test eax, eax
je 0x46cda4
push eax
call dword [0x47d0c4]
mov eax, dword [esi + 0x54]
test eax, eax
je 0x46cdae
push eax
call ebp
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], ebx
lea esi, [esp + 0xa8]
call fcn.0040bd60
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88
ret 0x1c
movsx ecx, word [esi + 0x74]
movsx edx, word [esi + 0x76]
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x20]
push ecx
push ebp
push esi
mov dword [esp + 0x34], edx
call fcn.00435063
test eax, eax
je case.0x46cc3d.8
mov edx, dword [esp + 0x18]
push 0
push esi
push edx
call fcn.00435ae9
lea esi, [esp + 0xa8]
call fcn.0040bd60
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88
ret 0x1c
sub esp, 0x10
lea eax, [esp + 0xb8]
mov ebx, esp
call fcn.004081f0
push ebp
push esi
call fcn.004564f1
test al, al
je case.0x46cc3d.8
mov eax, dword [esp + 0x18]
push 0
push esi
push eax
call fcn.00435ae9
lea esi, [esp + 0xa8]
call fcn.0040bd60
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88
ret 0x1c
push 1
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x30]
push edx
push eax
push ebp
call dword [0x47d46c]
test eax, eax
jg 0x46ceb4
push 1
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x30]
push ecx
push 0xffffffffffffffff
push ebp
call dword [0x47d46c]
cmp dword [esp + 0x28], 0
jne 0x46ceb4
cmp dword [esp + 0x20], 0
je case.0x46cc3d.8
cmp byte [esp + 0x17], 0x13
jne 0x46ced9
push 0
push 0
push 0x1004
push edi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x34], 0
call dword [0x47d634]
jmp 0x46cf17
mov edi, dword [esi + 0x30]
push edi
push 0x49f310
call fcn.004436c0
lea edx, [esp + 0x2c]
push edx
push 0xffffffffffffffff
push 0x1053
push edi
mov dword [esp + 0x28], eax
mov dword [esp + 0x3c], 1
mov dword [esp + 0x44], ebx
call dword [0x47d634]
mov dword [esp + 0x24], eax
cmp eax, 0xffffffff
je case.0x46cc3d.8
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x1c], eax
mov eax, dword [0x49f384]
mov edx, dword [eax + ecx*4]
mov eax, dword [edx]
mov ebp, dword [eax + 0x34]
mov ebx, dword [eax + 0x38]
test ebp, ebp
jne 0x46cf64
push 1
push ebp
push 0x21
push 0x10
push 0x10
call dword [0x47d0a4]
mov ecx, dword [esp + 0x18]
mov ebp, eax
mov eax, dword [0x49f384]
mov edx, dword [eax + ecx*4]
mov eax, dword [edx]
push ebp
push 1
push 0x1003
push edi
mov dword [eax + 0x34], ebp
call dword [0x47d634]
test ebx, ebx
jne 0x46cf9a
push 1
push ebx
push 0x21
push 0x20
push 0x20
call dword [0x47d0a4]
mov ecx, dword [0x49f384]
mov edx, dword [esp + 0x18]
mov ebx, eax
mov eax, dword [ecx + edx*4]
mov ecx, dword [eax]
push ebx
push 0
push 0x1003
push edi
mov dword [ecx + 0x38], ebx
call dword [0x47d634]
test ebp, ebp
je 0x46d060
test ebx, ebx
je 0x46d060
mov edx, dword [esp + 0x20]
push edx
push 0xffffffffffffffff
push ebp
mov ebp, dword [0x47d0ac]
call ebp
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x28]
push eax
push 0xffffffffffffffff
push ebx
call ebp
cmp byte [esp + 0x17], 0x13
jne 0x46cfd9
mov ecx, dword [esp + 0x18]
mov dword [esi + 0x84], ecx
mov ebx, dword [esp + 0x24]
cmp ebx, dword [esp + 0x1c]
mov esi, ebx
jg 0x46d04c
nop
mov ebp, dword [0x47d634]
lea edx, [esp + 0x70]
push edx
push 0
push 0x104b
push edi
mov dword [esp + 0x80], 2
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], 0
call ebp
cmp dword [esp + 0x8c], 0xfffffffe
je 0x46d029
cmp byte [esp + 0x17], 0x14
jne 0x46d043
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x70]
push ecx
push 0
push 0x104c
push edi
mov dword [esp + 0x9c], eax
call ebp
inc esi
cmp esi, dword [esp + 0x1c]
jle 0x46cfe6
jmp 0x46d052
mov ebp, dword [0x47d634]
mov edx, dword [esp + 0x1c]
push edx
push ebx
push 0x1015
push edi
call ebp
mov eax, dword [esp + 0x20]
mov esi, dword [0x47d6e0]
push eax
call esi
mov ecx, dword [esp + 0x28]
push ecx
call esi
lea esi, [esp + 0xa8]
call fcn.0040bd60
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88
ret 0x1c
push 1
lea edx, [esp + 0x24]
push edx
push 0
push eax
push ebp
call dword [0x47d46c]
test eax, eax
jle case.0x46cc3d.8
cmp byte [esp + 0x17], 0x10
jne 0x46d0c9
mov eax, dword [0x49f394]
mov esi, edi
mov edi, ebx
mov dword [esp + 0x24], 3
mov dword [esp + 0x1c], eax
jmp 0x46d0e1
mov esi, dword [esi + 0x30]
push esi
push 0x49f310
call fcn.004436c0
mov edi, eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x1c], ebx
mov ecx, dword [0x49f384]
mov edx, dword [ecx + edi*4]
mov eax, dword [edx]
mov ebx, dword [eax + 0x3c]
mov ebp, dword [0x47d634]
test ebx, ebx
jne 0x46d12c
push 1
push 1
push 0x21
push 0x10
push 0x10
call dword [0x47d0a4]
mov ecx, dword [0x49f384]
mov edx, dword [ecx + edi*4]
mov ebx, eax
mov eax, dword [edx]
push ebx
push 0
push 0x1109
push esi
mov dword [eax + 0x3c], ebx
call ebp
test ebx, ebx
je 0x46d1f6
mov ecx, dword [esp + 0x20]
push ecx
push 0xffffffffffffffff
push ebx
call dword [0x47d0ac]
cmp byte [esp + 0x17], 0x10
mov ebx, eax
jne 0x46d166
mov al, byte [esp + 0xa4]
test al, 2
je 0x46d158
mov edx, dword [esp + 0x18]
mov dword [edx + 0x1a0], ebx
test al, 4
je 0x46d166
mov eax, dword [esp + 0x18]
mov dword [eax + 0x1a4], ebx
mov edi, dword [esp + 0x24]
cmp edi, dword [esp + 0x1c]
jg 0x46d1f6
mov edi, edi
mov ecx, dword [0x49f384]
mov eax, dword [ecx + edi*4]
cmp dword [eax], 0
je 0x46d1ef
mov eax, dword [eax]
mov edx, dword [eax + 4]
mov ecx, dword [esp + 0x18]
cmp edx, dword [ecx + 4]
jne 0x46d1ef
cmp byte [eax + 0x78], 0x11
jne 0x46d1ef
cmp dword [eax + 0x30], esi
jne 0x46d1ef
mov edx, dword [eax + 0xc]
lea eax, [esp + 0x48]
push eax
push 0
push 0x113e
push esi
mov dword [esp + 0x5c], edx
mov dword [esp + 0x58], 0x32
call ebp
mov dl, byte [esp + 0xa4]
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x60]
test dl, 2
je 0x46d1d1
mov ecx, ebx
test dl, 4
je 0x46d1d8
mov eax, ebx
mov dword [esp + 0x64], ecx
lea ecx, [esp + 0x48]
push ecx
push 0
push 0x113f
push esi
mov dword [esp + 0x70], eax
call ebp
inc edi
cmp edi, dword [esp + 0x1c]
jle 0x46d176
lea edx, [esp + 0x2c]
push edx
push esi
call dword [0x47d5e4]
push 0
push 0
lea eax, [esp + 0x34]
push eax
push esi
call dword [0x47d508]
mov ecx, dword [esp + 0x20]
push ecx
jmp 0x46d2cf
push 1
lea edx, [esp + 0x24]
push edx
push 0
push eax
push ebp
call dword [0x47d46c]
test eax, eax
jle case.0x46cc3d.8
mov eax, dword [esp + 0x18]
mov ebx, dword [eax + 0x174]
push ebx
push 0x49f310
call fcn.004436c0
mov ecx, dword [0x49f384]
mov ebp, eax
mov edx, dword [ecx + ebp*4]
mov eax, dword [edx]
mov edi, dword [eax + 0x3c]
test edi, edi
jne 0x46d291
push 1
push 1
push 0x21
push 0x10
push 0x10
call dword [0x47d0a4]
mov ecx, dword [0x49f384]
mov edx, dword [ecx + ebp*4]
mov edi, eax
mov eax, dword [edx]
push edi
push 0
push 0x1303
push ebx
mov dword [eax + 0x3c], edi
call dword [0x47d634]
test edi, edi
je 0x46d2ca
mov ecx, dword [esp + 0x20]
movsx edx, word [esi + 0x70]
push ecx
push edx
push edi
call dword [0x47d0ac]
movzx ecx, byte [esi + 0x7b]
mov edi, eax
lea eax, [esp + 0x2c]
push eax
push ecx
push 0x133d
push ebx
mov dword [esp + 0x3c], 2
mov dword [esp + 0x50], edi
call dword [0x47d634]
mov word [esi + 0x70], di
mov edx, dword [esp + 0x20]
push edx
call dword [0x47d6e0]
lea esi, [esp + 0xa8]
call fcn.0040bd60
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88
ret 0x1c
lea esi, [esp + 0xa8]
call fcn.0040bd60
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x88
ret 0x1c