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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x94
push ebx
push esi
mov eax, ecx
mov dword [esp + 0x10], edx
push edi
mov edi, dword [ebp + 0xc]
xor esi, esi
mov dword [esp + 0x10], eax
xorps xmm0, xmm0
mov ecx, dword [eax + 8]
mov eax, dword [eax]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x50], esi
mov dword [esp + 0x6c], esi
movlpd qword [esp + 0x78], xmm0
mov dword [esp + 0x80], esi
push 0x40
pop edx
test edi, edi
je 0x45d1e8
xor ecx, ecx
cmp dword [edi], edx
cmovge edi, ecx
mov dword [ebp + 0xc], edi
mov bl, byte [eax + 0x4c]
mov ecx, dword [ebp + 0x14]
mov eax, ecx
and eax, 0xfeff
mov dword [esp + 0x70], edi
movzx edx, ax
and bl, 0x10
movzx eax, cx
cmove edx, eax
movzx eax, dx
mov ecx, eax
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x14]
push 0x40
pop edx
mov ecx, dword [ecx]
cmp ecx, edx
jle 0x45d233
mov edi, dword [esp + 0x10]
push edx
push str.at_most__d_tables_in_a_join
push edi
call fcn.0040e498
add esp, 0xc
jmp 0x45d55f
test al, 0x20
push 1
pop eax
cmovne ecx, eax
imul eax, ecx, 0x58
push esi
mov esi, dword [esp + 0x38]
mov dword [esp + 0x34], ecx
mov ecx, esi
mov dword [esp + 0x44], eax
add eax, 0x2f7
and eax, 0xfffffff8
mov dword [esp + 0x28], eax
add eax, 0x48
push eax
call fcn.0040bf12
cmp byte [esi + 0x51], 0
mov ebx, eax
pop ecx
pop ecx
mov dword [esp + 0x4c], ebx
je 0x45d286
test ebx, ebx
je 0x45d55f
mov edx, ebx
mov ecx, esi
call fcn.0040bcca
jmp 0x45d55f
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov esi, dword [ebp + 8]
mov dword [ebx + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebx + 0xc], eax
mov eax, dword [esp + 0x30]
mov dword [ebx], ecx
mov dword [ebx + 8], edi
lea edi, [ebx + 0x2f]
mov dword [ebx + 0x10], esi
or dword [ebx + 0x1c], 0xffffffff
or dword [ebx + 0x18], 0xffffffff
mov byte [ebx + 0x2e], al
mov eax, dword [ecx + 0x38]
dec eax
mov dword [ecx + 0x38], eax
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x24], eax
mov eax, dword [esp + 0x20]
mov word [ebx + 0x2c], ax
mov eax, dword [ebp + 0x18]
mov word [ebx + 0x14], ax
mov eax, dword [ecx + 0x84]
mov dword [ebx + 0x28], eax
xor eax, eax
push 8
pop ecx
rep stosd dword es:[edi], eax
lea ecx, [ebx + 0x2f0]
stosb byte es:[edi], al
mov eax, dword [esp + 0x40]
add eax, 0x48
push eax
xor eax, eax
push eax
push ecx
call fcn.00469a60
mov ecx, dword [esp + 0x30]
lea edi, [ebx + 0x50]
add ecx, ebx
mov dword [esp + 0x74], ebx
add esp, 0xc
mov dword [esp + 0x74], ecx
lea edx, [ebx + 0x1e8]
mov dword [esp + 0x18], edi
mov dword [esp + 0x40], edx
lea eax, [ecx + 0x38]
mov dword [esp + 0x6c], edi
mov dword [ecx + 0x30], eax
xor eax, eax
mov word [ecx + 0x28], ax
push 3
pop eax
mov word [ecx + 0x2c], ax
xor eax, eax
mov dword [ecx + 0x24], eax
mov ecx, edi
mov dword [edx + 4], eax
mov edx, esi
mov byte [edi + 9], al
mov dword [edi + 4], eax
mov dword [edi + 0xc], eax
lea eax, [edi + 0x18]
push 0x2c
mov dword [edi], ebx
mov dword [edi + 0x10], 8
mov dword [edi + 0x14], eax
call fcn.00458cb0
cmp dword [esp + 0x34], 0
pop ecx
mov ecx, pe_nt_image_headers32
jne 0x45d39a
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x45d375
mov al, byte [eax]
mov byte [ebx + 0x2f], al
test dword [esp + 0x20], ecx
je 0x45d37f
mov byte [ebx + 0x33], 1
mov edi, dword [esp + 0x10]
xor esi, esi
push str.SCAN_CONSTANT_ROW
push esi
push edi
call fcn.004237f1
mov eax, dword [esp + 0x20]
add esp, 0xc
jmp 0x45d3da
mov edi, dword [esp + 0x10]
xor esi, esi
mov ebx, esi
mov esi, dword [esp + 0x14]
add esi, 8
mov edx, dword [esp + 0x40]
mov eax, dword [esi + 0x2c]
push dword [esp + 0x18]
mov ecx, dword [edx + 4]
mov dword [edx + ecx*4 + 8], eax
mov ecx, edi
inc dword [edx + 4]
mov edx, esi
call fcn.00458f12
mov eax, dword [esp + 0x18]
inc ebx
add esi, 0x48
pop ecx
cmp ebx, dword [eax]
jl 0x45d3a9
mov ebx, dword [esp + 0x4c]
xor esi, esi
lea edx, [ebx + 0x50]
mov ecx, eax
call fcn.00458ee8
mov eax, dword [esp + 0x34]
cmp byte [eax + 0x51], 0
jne 0x45d54b
lea edi, [ebx + 0x50]
mov edx, esi
mov dword [esp + 0x18], edx
cmp dword [edi + 0xc], esi
jle 0x45d4ae
mov ecx, esi
mov esi, dword [esp + 0x10]
mov dword [esp + 0x3c], ecx
mov edi, dword [edi + 0x14]
add edi, ecx
mov dword [esp + 0x24], edi
test byte [edi + 0xa], 2
jne 0x45d494
mov eax, dword [edi + 0x28]
or eax, dword [edi + 0x2c]
jne 0x45d494
cmp dword [esp + 0x30], eax
je 0x45d475
mov edx, dword [edi]
lea edi, [esp + 0x84]
push 7
pop ecx
rep stosd dword es:[edi], eax
mov byte [esp + 0x98], 1
mov dword [esp + 0x88], 0x45d170
mov dword [esp + 0x8c], 0x433633
test edx, edx
je 0x45d471
lea ecx, [esp + 0x84]
call fcn.004300d7
cmp byte [esp + 0x98], 0
je 0x45d48c
mov edi, dword [esp + 0x24]
push 0x10
push dword [ebx + 0x24]
push dword [edi]
push esi
call fcn.004363f6
add esp, 0x10
push 4
pop eax
or word [edi + 0xa], ax
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x3c]
inc edx
lea edi, [ebx + 0x50]
add ecx, 0x30
mov dword [esp + 0x18], edx
mov dword [esp + 0x3c], ecx
cmp edx, dword [edi + 0xc]
jl 0x45d40e
xor esi, esi
mov eax, dword [esp + 0x20]
and eax, 0x100
mov dword [esp + 0x58], eax
je 0x45d4f3
push dword [ebp + 0x10]
mov edx, dword [esp + 0x18]
push edi
mov edi, dword [esp + 0x18]
mov ecx, edi
call fcn.00459515
pop ecx
pop ecx
test eax, eax
je 0x45d4dc
mov byte [ebx + 0x33], 1
jmp 0x45d4f7
cmp dword [ebp + 0xc], 0
jne 0x45d4f7
mov eax, 0x80
or word [ebx + 0x2c], ax
mov eax, dword [ebp + 0x10]
mov dword [ebx + 8], eax
jmp 0x45d4f7
mov edi, dword [esp + 0x10]
cmp dword [esp + 0x30], 1
jne 0x45d50b
lea ecx, [esp + 0x68]
call fcn.0045cfd7
test eax, eax
jne 0x45d568
lea ecx, [esp + 0x68]
call fcn.0045bfe9
test eax, eax
jne 0x45d547
xor edx, edx
mov ecx, ebx
call fcn.0045c947
mov edx, dword [esp + 0x34]
cmp byte [edx + 0x51], 0
jne 0x45d547
cmp dword [ebx + 8], esi
je 0x45d571
movzx edx, word [ebx + 0x48]
mov ecx, ebx
inc dx
call fcn.0045c947
mov edx, dword [esp + 0x34]
cmp byte [edx + 0x51], 0
je 0x45d56c
mov edi, dword [esp + 0x10]
mov eax, dword [ebx + 0x28]
mov edx, ebx
mov ecx, dword [esp + 0x34]
mov dword [edi + 0x84], eax
call fcn.0045a0bc
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x34]
cmp dword [ebx + 8], esi
jne 0x45d585
mov eax, dword [edx + 0x20]
and eax, 0x1000
or eax, esi
je 0x45d585
or dword [ebx + 0x40], 0xffffffff
or dword [ebx + 0x44], 0xffffffff
cmp dword [edi + 0x24], esi
jne 0x45d547
cmp byte [edx + 0x51], 0
jne 0x45d547
or dword [esp + 0x48], 0xffffffff
or dword [esp + 0x3c], 0xffffffff
cmp byte [ebx + 0x2e], 2
jb 0x45d763
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x45d763
mov ecx, pe_nt_image_headers32
test word [edx + 0x4c], cx
jne 0x45d763
lea esi, [ebx + 0x1e8]
mov edx, eax
mov ecx, esi
call fcn.00458e86
mov dword [esp + 0x18], edx
mov edi, eax
mov edx, dword [esp + 0x70]
mov dword [esp + 0x24], edi
test edx, edx
je 0x45d5f0
mov ecx, esi
call fcn.00458e86
or edi, eax
or dword [esp + 0x18], edx
mov dword [esp + 0x24], edi
movzx edi, byte [ebx + 0x2e]
dec edi
mov dword [esp + 0x38], edi
cmp edi, 1
jl 0x45d763
imul eax, edi, 0x58
add eax, 0x2f0
add eax, ebx
mov dword [esp + 0x2c], eax
mov ecx, dword [eax + 0x48]
mov edx, dword [ebx + 4]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x60], edx
movzx eax, byte [ecx + 0x10]
imul eax, eax, 0x48
mov dword [esp + 0x5c], eax
test byte [eax + edx + 0x2c], 8
je 0x45d74a
cmp word [esp + 0x58], 0
jne 0x45d649
test dword [ecx + 0x24], 0x1000
je 0x45d74a
mov eax, dword [ecx + 8]
mov edx, dword [ecx + 0xc]
mov ecx, eax
and ecx, dword [esp + 0x24]
mov dword [esp + 0x28], eax
mov eax, edx
and eax, dword [esp + 0x18]
or ecx, eax
mov dword [esp + 0x40], edx
jne 0x45d74a
mov eax, dword [esp + 0x6c]
mov edx, dword [eax + 0x14]
mov esi, edx
imul eax, dword [eax + 0xc], 0x30
mov dword [esp + 0x64], edx
add eax, edx
mov dword [esp + 0x1c], eax
cmp esi, eax
jae 0x45d6d1
mov edi, dword [esp + 0x28]
mov ebx, eax
mov edx, dword [esp + 0x5c]
mov eax, dword [esi + 0x2c]
mov ecx, edi
and ecx, dword [esi + 0x28]
and eax, dword [esp + 0x40]
or ecx, eax
je 0x45d6b6
mov eax, dword [esi]
test byte [eax + 4], 1
je 0x45d6bd
mov ecx, dword [esp + 0x60]
movsx eax, word [eax + 0x24]
cmp eax, dword [edx + ecx + 0x34]
jne 0x45d6bd
add esi, 0x30
cmp esi, ebx
jb 0x45d690
mov edx, dword [esp + 0x64]
cmp esi, ebx
mov ebx, dword [esp + 0x4c]
mov edi, dword [esp + 0x38]
jb 0x45d74a
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x40]
not ecx
and dword [esp + 0x48], ecx
not esi
and dword [esp + 0x3c], esi
cmp edx, eax
jae 0x45d717
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x54]
push 4
pop ebx
mov ecx, dword [edx + 0x28]
mov eax, dword [edx + 0x2c]
and ecx, dword [edi + 8]
and eax, dword [edi + 0xc]
or ecx, eax
je 0x45d708
or word [edx + 0xa], bx
add edx, 0x30
cmp edx, esi
jb 0x45d6f4
mov ebx, dword [esp + 0x4c]
mov edi, dword [esp + 0x38]
mov cl, byte [ebx + 0x2e]
movzx edx, cl
lea eax, [edx - 1]
cmp edi, eax
je 0x45d741
mov ecx, dword [esp + 0x2c]
sub edx, edi
imul eax, edx, 0x58
sub eax, 0x58
push eax
lea eax, [ecx + 0x58]
push eax
push ecx
call fcn.004694e0
mov cl, byte [ebx + 0x2e]
add esp, 0xc
dec cl
dec dword [esp + 0x30]
mov byte [ebx + 0x2e], cl
mov eax, dword [esp + 0x2c]
dec edi
sub eax, 0x58
mov dword [esp + 0x38], edi
mov dword [esp + 0x2c], eax
cmp edi, 1
jge 0x45d610
mov ecx, dword [ebx]
movsx eax, word [ebx + 0x48]
add dword [ecx + 0x84], eax
xor ecx, ecx
mov eax, dword [esp + 0x20]
mov dword [esp + 0x28], ecx
test al, 4
je 0x45d7ee
mov esi, dword [ebx + 0x338]
mov edx, dword [esi + 0x24]
bt edx, 0xc
jb 0x45d7b7
mov dword [esp + 0x28], ecx
test al, 8
je 0x45d7ee
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], ecx
mov eax, dword [eax + 0x18]
cmp dword [eax + 0x38], ecx
jne 0x45d7ee
test edx, 0x2000
je 0x45d7b7
test byte [esp + 0x20], 0x10
mov dword [esp + 0x28], ecx
je 0x45d7ee
bt edx, 0xc
mov dword [esp + 0x28], ecx
setae al
inc al
mov byte [ebx + 0x31], al
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x18]
test byte [eax + 0x24], 0x20
jne 0x45d7ee
mov dword [esp + 0x28], ecx
test dl, 0x40
je 0x45d7ee
mov eax, dword [esp + 0x20]
and edx, 0xffffffbf
and eax, 8
mov dword [esi + 0x24], edx
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x30]
test ecx, ecx
jle 0x45da89
lea edi, [ebx + 0x338]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x2c], edi
movzx eax, byte [edi - 0x14]
mov ecx, dword [esp + 0x14]
imul eax, eax, 0x48
mov dword [esp + 0x38], eax
mov esi, dword [eax + ecx + 0x18]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x54], esi
mov edx, dword [esi + 0x48]
call fcn.0044a260
mov edx, dword [edi]
xor edi, edi
test byte [esi + 0x24], 2
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], edx
jne 0x45d969
cmp dword [esi + 0xc], edi
jne 0x45d969
test dword [edx + 0x24], 0x400
je 0x45d894
mov edx, esi
call fcn.0045422e
mov edx, dword [esp + 0x38]
mov esi, eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x44]
push edi
push edi
push dword [edx + eax + 0x34]
mov edx, 0xa3
call fcn.0042365a
mov ecx, dword [esp + 0x50]
add esp, 0xc
mov edx, eax
push 0xfffffffffffffff4
push esi
call fcn.00423cf9
mov esi, dword [esp + 0x5c]
pop ecx
pop ecx
jmp 0x45d965
cmp dword [esi + 0x38], edi
jne 0x45d969
test byte [edx + 0x24], 0x40
jne 0x45d951
test byte [esp + 0x20], 0x20
jne 0x45d951
cmp byte [ebx + 0x31], 0
mov edx, dword [esp + 0x38]
push 0x61
pop ecx
je 0x45d8d1
mov eax, dword [esp + 0x14]
push 0x62
pop ecx
mov eax, dword [edx + eax + 0x34]
mov dword [ebx + 0x18], eax
mov eax, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x14]
push esi
push eax
mov eax, dword [esp + 0x20]
mov edx, dword [edx + eax + 0x34]
call fcn.00443f54
add esp, 0xc
cmp byte [ebx + 0x31], 0
jne 0x45d942
push 0x40
pop eax
cmp word [esi + 0x2a], ax
jge 0x45d942
test byte [esi + 0x24], 0x20
jne 0x45d942
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x1c], edi
mov edx, dword [eax + ecx + 0x40]
mov ecx, dword [eax + ecx + 0x44]
mov eax, edx
or eax, ecx
je 0x45d92e
mov ebx, edi
shrd edx, ecx, 1
shr ecx, 1
mov eax, edx
inc ebx
or eax, ecx
jne 0x45d919
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x44]
or edx, 0xffffffff
push 0xfffffffffffffffd
push dword [esp + 0x20]
call fcn.00423cf9
pop ecx
pop ecx
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x44]
call fcn.00423b1e
jmp 0x45d965
push dword [esi]
mov ecx, dword [esp + 0x14]
mov edx, eax
push edi
push dword [esi + 0x1c]
call fcn.0043a801
add esp, 0xc
mov edx, dword [esp + 0x18]
test dword [edx + 0x24], 0x200
je 0x45da5c
test byte [esi + 0x24], 0x20
mov eax, dword [edx + 0x20]
push 0x61
mov dword [esp + 0x20], eax
pop edx
je 0x45d9a6
mov eax, dword [eax + 0x38]
and al, 3
cmp al, 2
mov eax, dword [esp + 0x20]
jne 0x45d9aa
test al, 0x20
je 0x45d9aa
mov eax, dword [esp + 0x2c]
mov edx, edi
mov esi, dword [esp + 0x10]
mov ecx, dword [eax - 0x44]
jmp 0x45da09
mov eax, dword [esp + 0x20]
cmp byte [ebx + 0x31], 0
je 0x45d9e4
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x1c]
mov eax, dword [eax + ecx + 0x18]
mov ecx, dword [ebp + 0x18]
mov eax, dword [eax + 8]
test eax, eax
je 0x45d9d4
cmp eax, edi
je 0x45d9d4
mov eax, dword [eax + 0x14]
inc ecx
jmp 0x45d9c6
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x2c]
push 0x62
pop edx
mov dword [ebx + 0x1c], ecx
jmp 0x45da0d
mov ecx, dword [ebp + 0x18]
test ecx, ecx
je 0x45d9f8
test al, 0x20
je 0x45d9f8
mov esi, dword [esp + 0x10]
push 0x60
pop edx
jmp 0x45da05
mov esi, dword [esp + 0x10]
mov ecx, dword [esi + 0x28]
lea eax, [ecx + 1]
mov dword [esi + 0x28], eax
mov eax, dword [esp + 0x2c]
mov edi, dword [esp + 0x1c]
mov dword [eax - 0x40], ecx
test edx, edx
je 0x45da5c
push dword [esp + 0x24]
push dword [edi + 0x2c]
push ecx
mov ecx, dword [esp + 0x50]
call fcn.0042365a
add esp, 0xc
mov edx, edi
mov ecx, esi
call fcn.00423d9c
mov eax, dword [esp + 0x18]
test byte [eax + 0x24], 0xf
je 0x45da5c
test dword [eax + 0x24], 0x88002
jne 0x45da5c
test byte [ebx + 0x2c], 1
jne 0x45da5c
cmp byte [ebx + 0x33], 2
je 0x45da5c
mov ecx, dword [esp + 0x44]
push 2
pop edx
call fcn.00423b1e
mov eax, dword [esp + 0x24]
test eax, eax
js 0x45da6f
mov ecx, dword [esp + 0x10]
mov edx, eax
call fcn.0043eff2
mov edi, dword [esp + 0x2c]
add edi, 0x58
sub dword [esp + 0x40], 1
mov dword [esp + 0x2c], edi
jne 0x45d808
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x44]
mov esi, dword [esp + 0x34]
mov eax, dword [eax + 0x6c]
mov dword [ebx + 0x38], eax
cmp byte [esi + 0x51], 0
jne 0x45d547
test ecx, ecx
jle 0x45db54
lea edi, [ebx + 0x324]
mov eax, dword [edi + 0x14]
test dword [eax + 0x24], 0x4000
je 0x45daf0
mov ecx, dword [esp + 0x14]
lea eax, [edi - 0x34]
push eax
movzx eax, byte [edi]
lea edx, [ebx + 0x50]
push dword [esp + 0x40]
imul eax, eax, 0x48
add ecx, 8
push dword [esp + 0x50]
add eax, ecx
mov ecx, dword [esp + 0x1c]
push eax
call fcn.004596e3
add esp, 0x10
cmp byte [esi + 0x51], 0
jne 0x45d547
push dword [esp + 0x20]
mov edx, dword [esp + 0x18]
lea esi, [edi - 0x34]
mov ecx, dword [esp + 0x14]
push esi
call fcn.004552d3
push dword [esp + 0x44]
mov ecx, dword [esp + 0x50]
mov edx, ecx
push dword [esp + 0x54]
push esi
mov eax, dword [ecx + 0x6c]
mov ecx, dword [esp + 0x24]
mov dword [edi - 0x14], eax
mov eax, dword [esp + 0x64]
push eax
push ebx
call fcn.00455fdc
mov ecx, dword [edi - 0x1c]
add esp, 0x1c
mov esi, dword [esp + 0x34]
add edi, 0x58
mov dword [ebx + 0x20], ecx
mov ecx, dword [esp + 0x50]
inc ecx
mov dword [esp + 0x48], eax
mov dword [esp + 0x3c], edx
mov dword [esp + 0x50], ecx
cmp ecx, dword [esp + 0x30]
jl 0x45daaf
mov eax, ebx
jmp 0x45d561