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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x37c
mov dword [ebp - 0x320], eax
mov dword [ebp - 0x324], ecx
test ecx, ecx
je 0x46c637
mov dword [ebp - 0x31c], edx
mov dword [ebp - 0x2f8], 0
mov edx, dword [ebp - 0x320]
mov ecx, dword [ebp - 0x320]
lea edi, [ebp - 0x58]
mov eax, dword [edx]
mov edx, dword [edx + 4]
mov dword [ebp - 0x314], edx
mov dword [ebp - 0x318], eax
mov eax, dword [ecx + 8]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x50], eax
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x48], eax
mov eax, dword [ecx + 0x18]
mov edx, dword [ecx + 0x1c]
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x40], eax
mov eax, dword [ecx + 0x20]
mov edx, dword [ecx + 0x24]
mov dword [ebp - 0x30c], edx
mov dword [ebp - 0x310], eax
mov eax, dword [ecx + 0x28]
mov edx, dword [ecx + 0x2c]
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x30], eax
mov eax, dword [ecx + 0x30]
mov edx, dword [ecx + 0x34]
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], eax
mov eax, dword [ecx + 0x38]
mov edx, dword [ecx + 0x3c]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x304], edi
mov dword [ebp - 0x2fc], 1
lea esi, [esi]
mov edx, dword [ebp - 0x2fc]
mov ecx, dword [ebp - 0x31c]
mov esi, dword [ebp - 0x318]
mov edi, dword [ebp - 0x314]
mov eax, dword [ecx + edx*8 - 8]
mov ecx, dword [ecx + edx*8 - 4]
xor edx, edx
bswap ecx
bswap eax
mov edx, eax
mov eax, 0
or eax, ecx
mov ecx, dword [ebp - 0x304]
mov dword [ecx], esi
mov dword [ecx + 4], edi
mov edi, dword [ebp - 0x304]
mov ebx, dword [ebp - 0x310]
mov esi, dword [ebp - 0x30c]
mov dword [edi + 0x24], esi
mov dword [edi + 0x20], ebx
mov dword [edi + 0x40], eax
mov dword [edi + 0x44], edx
mov ebx, dword [ebp - 0x304]
mov edi, dword [ebp - 0x2fc]
mov ecx, dword [ebx + 0x38]
mov esi, dword [edi*8 + 0x4c2ed8]
mov ebx, dword [ebx + 0x3c]
mov dword [ebp - 0x2f0], ecx
add dword [ebp - 0x2f0], esi
mov dword [ebp - 0x2ec], ebx
mov edi, dword [edi*8 + 0x4c2edc]
mov ebx, dword [ebp - 0x30c]
adc dword [ebp - 0x2ec], edi
add dword [ebp - 0x2f0], eax
mov eax, dword [ebp - 0x310]
adc dword [ebp - 0x2ec], edx
mov ecx, eax
mov edx, dword [ebp - 0x30c]
shrd eax, edx, 0x12
shrd edx, ecx, 0x12
mov ecx, dword [ebp - 0x310]
mov esi, ecx
shrd ecx, ebx, 0xe
shrd ebx, esi, 0xe
xor eax, ecx
xor edx, ebx
mov ecx, dword [ebp - 0x310]
mov ebx, dword [ebp - 0x30c]
mov edi, ecx
shld ecx, ebx, 0x17
xor eax, ecx
shld ebx, edi, 0x17
xor edx, ebx
add dword [ebp - 0x2f0], eax
adc dword [ebp - 0x2ec], edx
mov ecx, dword [ebp - 0x304]
mov edx, dword [ebp - 0x30c]
mov esi, dword [ecx + 0x34]
xor edx, 0xffffffff
mov eax, dword [ebp - 0x310]
and edx, esi
mov esi, dword [ebp - 0x304]
mov edi, dword [ecx + 0x30]
xor eax, 0xffffffff
mov ebx, dword [esi + 0x28]
mov ecx, dword [ebp - 0x310]
and ecx, ebx
and eax, edi
mov ebx, dword [ebp - 0x30c]
mov edi, dword [esi + 0x2c]
and ebx, edi
xor eax, ecx
xor edx, ebx
add dword [ebp - 0x2f0], eax
adc dword [ebp - 0x2ec], edx
mov eax, dword [ebp - 0x2f0]
add eax, dword [esi + 0x18]
mov edx, dword [ebp - 0x2ec]
adc edx, dword [esi + 0x1c]
mov dword [ebp - 0x310], eax
mov dword [ebp - 0x30c], edx
mov ecx, esi
mov ebx, dword [esi + 8]
mov edi, ecx
mov esi, dword [esi + 0xc]
mov dword [ebp - 0x350], ebx
mov dword [ebp - 0x34c], esi
mov eax, dword [ebp - 0x350]
mov esi, dword [ebp - 0x318]
mov ebx, dword [edi + 0x14]
and esi, eax
mov edi, dword [ebp - 0x314]
mov eax, dword [ebp - 0x34c]
mov ecx, dword [ecx + 0x10]
and edi, eax
mov eax, dword [ebp - 0x318]
and eax, ecx
mov edx, dword [ebp - 0x314]
xor esi, eax
mov eax, dword [ebp - 0x350]
and edx, ebx
and ecx, eax
mov eax, dword [ebp - 0x34c]
xor edi, edx
and ebx, eax
mov eax, esi
xor eax, ecx
mov edx, edi
mov dword [ebp - 0x358], eax
xor edx, ebx
mov ecx, dword [ebp - 0x318]
mov ebx, dword [ebp - 0x314]
mov esi, ecx
mov dword [ebp - 0x354], edx
shld ecx, ebx, 0x1e
mov dword [ebp - 0x360], ecx
mov ecx, dword [ebp - 0x318]
shld ebx, esi, 0x1e
mov dword [ebp - 0x35c], ebx
mov edi, ecx
mov ebx, dword [ebp - 0x314]
mov eax, dword [ebp - 0x360]
shrd ecx, ebx, 0x1c
mov edx, dword [ebp - 0x35c]
xor eax, ecx
shrd ebx, edi, 0x1c
mov ecx, dword [ebp - 0x318]
xor edx, ebx
mov ebx, dword [ebp - 0x314]
mov esi, ecx
shld ecx, ebx, 0x19
mov dword [ebp - 0x330], ecx
shld ebx, esi, 0x19
mov ecx, dword [ebp - 0x330]
mov dword [ebp - 0x32c], ebx
xor ecx, eax
mov ebx, dword [ebp - 0x32c]
mov dword [ebp - 0x318], ecx
mov eax, dword [ebp - 0x358]
xor ebx, edx
add dword [ebp - 0x318], eax
mov dword [ebp - 0x314], ebx
mov edx, dword [ebp - 0x354]
adc dword [ebp - 0x314], edx
mov edx, dword [ebp - 0x2f0]
add dword [ebp - 0x318], edx
mov eax, dword [ebp - 0x304]
mov ecx, dword [ebp - 0x2ec]
adc dword [ebp - 0x314], ecx
sub eax, 8
mov dword [ebp - 0x304], eax
mov eax, dword [ebp - 0x2fc]
inc eax
mov dword [ebp - 0x2fc], eax
cmp dword [ebp - 0x2fc], 0x11
jne 0x46bf20
lea ecx, [ebp - 0xd8]
mov dword [ebp - 0x300], 0x10
mov dword [ebp - 0x2f4], ecx
mov esi, dword [ebp - 0x2f4]
mov ebx, dword [esi + 0xbc]
mov ecx, dword [esi + 0xb8]
mov edx, ebx
mov eax, ecx
shrd edx, ecx, 8
mov dword [ebp - 0x364], edx
mov edi, ebx
shrd eax, ebx, 8
shrd edi, ecx, 1
mov esi, ecx
mov edx, dword [ebp - 0x364]
mov dword [ebp - 0x368], eax
xor edx, edi
shrd esi, ebx, 1
shrd ecx, ebx, 7
shr ebx, 7
mov eax, dword [ebp - 0x368]
xor edx, ebx
mov ebx, dword [ebp - 0x2f4]
xor eax, esi
mov esi, dword [ebp - 0x2f4]
xor eax, ecx
mov ecx, dword [ebx + 0x50]
mov ebx, dword [ebx + 0x54]
mov dword [ebp - 0x388], ecx
mov dword [ebp - 0x384], ebx
mov ecx, dword [esi + 0xc0]
mov ebx, dword [esi + 0xc4]
add ecx, dword [esi + 0x78]
adc ebx, dword [esi + 0x7c]
add ecx, eax
adc ebx, edx
mov eax, dword [ebp - 0x388]
mov edx, dword [ebp - 0x384]
mov esi, eax
shld eax, edx, 3
mov dword [ebp - 0x370], eax
mov eax, dword [ebp - 0x388]
shld edx, esi, 3
mov dword [ebp - 0x36c], edx
mov esi, eax
mov edx, dword [ebp - 0x384]
shrd eax, edx, 0x13
shrd edx, esi, 0x13
mov dword [ebp - 0x338], eax
mov dword [ebp - 0x334], edx
mov edi, dword [ebp - 0x338]
mov esi, dword [ebp - 0x334]
mov eax, dword [ebp - 0x370]
mov edx, dword [ebp - 0x36c]
xor eax, edi
xor edx, esi
mov edi, dword [ebp - 0x384]
mov esi, dword [ebp - 0x388]
shrd esi, edi, 6
shr edi, 6
xor eax, esi
xor edx, edi
mov esi, dword [ebp - 0x2f4]
add ecx, eax
mov eax, dword [ebp - 0x318]
adc ebx, edx
mov edx, dword [ebp - 0x314]
mov dword [esi], eax
mov dword [esi + 4], edx
mov esi, dword [ebp - 0x2f4]
mov eax, dword [ebp - 0x310]
mov edx, dword [ebp - 0x30c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x40], ecx
mov dword [esi + 0x20], eax
mov dword [esi + 0x44], ebx
mov edx, dword [ebp - 0x2f4]
mov edi, dword [ebp - 0x300]
mov eax, dword [edx + 0x38]
mov esi, dword [edi*8 + 0x4c2ee0]
mov edx, dword [edx + 0x3c]
mov dword [ebp - 0x2e8], eax
add dword [ebp - 0x2e8], esi
mov dword [ebp - 0x2e4], edx
mov edi, dword [edi*8 + 0x4c2ee4]
mov eax, dword [ebp - 0x310]
adc dword [ebp - 0x2e4], edi
mov edx, dword [ebp - 0x30c]
add dword [ebp - 0x2e8], ecx
mov ecx, eax
adc dword [ebp - 0x2e4], ebx
mov ebx, dword [ebp - 0x30c]
shrd eax, edx, 0x12
shrd edx, ecx, 0x12
mov ecx, dword [ebp - 0x310]
mov esi, ecx
shrd ecx, ebx, 0xe
shrd ebx, esi, 0xe
xor eax, ecx
xor edx, ebx
mov ecx, dword [ebp - 0x310]
mov ebx, dword [ebp - 0x30c]
mov edi, ecx
shld ecx, ebx, 0x17
xor eax, ecx
shld ebx, edi, 0x17
xor edx, ebx
add dword [ebp - 0x2e8], eax
adc dword [ebp - 0x2e4], edx
mov ecx, dword [ebp - 0x2f4]
mov edx, dword [ebp - 0x30c]
mov esi, dword [ecx + 0x34]
xor edx, 0xffffffff
mov eax, dword [ebp - 0x310]
and edx, esi
mov esi, dword [ebp - 0x2f4]
mov edi, dword [ecx + 0x30]
xor eax, 0xffffffff
mov ebx, dword [esi + 0x28]
mov ecx, dword [ebp - 0x310]
and ecx, ebx
and eax, edi
mov ebx, dword [ebp - 0x30c]
mov edi, dword [esi + 0x2c]
and ebx, edi
xor eax, ecx
xor edx, ebx
add dword [ebp - 0x2e8], eax
adc dword [ebp - 0x2e4], edx
mov eax, dword [ebp - 0x2e8]
add eax, dword [esi + 0x18]
mov edx, dword [ebp - 0x2e4]
adc edx, dword [esi + 0x1c]
mov dword [ebp - 0x310], eax
mov dword [ebp - 0x30c], edx
mov ecx, esi
mov ebx, dword [esi + 8]
mov edi, ecx
mov esi, dword [esi + 0xc]
mov dword [ebp - 0x348], ebx
mov dword [ebp - 0x344], esi
mov eax, dword [ebp - 0x348]
mov esi, dword [ebp - 0x318]
mov ebx, dword [edi + 0x14]
and esi, eax
mov edi, dword [ebp - 0x314]
mov eax, dword [ebp - 0x344]
mov ecx, dword [ecx + 0x10]
and edi, eax
mov eax, dword [ebp - 0x318]
and eax, ecx
mov edx, dword [ebp - 0x314]
xor esi, eax
mov eax, dword [ebp - 0x348]
and edx, ebx
and ecx, eax
mov eax, dword [ebp - 0x344]
xor edi, edx
and ebx, eax
mov eax, esi
xor eax, ecx
mov edx, edi
mov dword [ebp - 0x378], eax
xor edx, ebx
mov ecx, dword [ebp - 0x318]
mov ebx, dword [ebp - 0x314]
mov esi, ecx
mov dword [ebp - 0x374], edx
shld ecx, ebx, 0x1e
mov dword [ebp - 0x380], ecx
mov ecx, dword [ebp - 0x318]
shld ebx, esi, 0x1e
mov dword [ebp - 0x37c], ebx
mov edi, ecx
mov ebx, dword [ebp - 0x314]
mov eax, dword [ebp - 0x380]
shrd ecx, ebx, 0x1c
mov edx, dword [ebp - 0x37c]
xor eax, ecx
shrd ebx, edi, 0x1c
mov ecx, dword [ebp - 0x318]
xor edx, ebx
mov ebx, dword [ebp - 0x314]
mov esi, ecx
shld ecx, ebx, 0x19
mov dword [ebp - 0x340], ecx
shld ebx, esi, 0x19
mov ecx, dword [ebp - 0x340]
mov dword [ebp - 0x33c], ebx
xor ecx, eax
mov ebx, dword [ebp - 0x33c]
mov dword [ebp - 0x318], ecx
mov eax, dword [ebp - 0x378]
xor ebx, edx
add dword [ebp - 0x318], eax
mov dword [ebp - 0x314], ebx
mov edx, dword [ebp - 0x374]
adc dword [ebp - 0x314], edx
mov edx, dword [ebp - 0x2e8]
add dword [ebp - 0x318], edx
mov ecx, dword [ebp - 0x2e4]
adc dword [ebp - 0x314], ecx
mov ebx, dword [ebp - 0x300]
mov ecx, dword [ebp - 0x2f4]
inc ebx
sub ecx, 8
mov dword [ebp - 0x300], ebx
mov dword [ebp - 0x2f4], ecx
cmp dword [ebp - 0x300], 0x50
jne 0x46c1e3
mov esi, dword [ebp - 0x320]
mov ecx, dword [ebp - 0x318]
mov ebx, dword [ebp - 0x314]
add dword [esi], ecx
adc dword [esi + 4], ebx
mov eax, dword [ebp - 0x2d0]
mov edx, dword [ebp - 0x2cc]
add dword [esi + 8], eax
adc dword [esi + 0xc], edx
mov eax, dword [ebp - 0x2c8]
mov edx, dword [ebp - 0x2c4]
add dword [esi + 0x10], eax
adc dword [esi + 0x14], edx
mov eax, dword [ebp - 0x2c0]
mov edx, dword [ebp - 0x2bc]
add dword [esi + 0x18], eax
adc dword [esi + 0x1c], edx
mov ecx, dword [ebp - 0x320]
mov eax, dword [ebp - 0x310]
mov edx, dword [ebp - 0x30c]
add dword [ecx + 0x20], eax
adc dword [ecx + 0x24], edx
mov eax, dword [ebp - 0x2b0]
mov edx, dword [ebp - 0x2ac]
add dword [ecx + 0x28], eax
adc dword [ecx + 0x2c], edx
mov eax, dword [ebp - 0x2a8]
mov edx, dword [ebp - 0x2a4]
add dword [ecx + 0x30], eax
adc dword [ecx + 0x34], edx
mov eax, dword [ebp - 0x2a0]
mov edx, dword [ebp - 0x29c]
add dword [ecx + 0x38], eax
adc dword [ecx + 0x3c], edx
mov edx, dword [ebp - 0x2f8]
mov ebx, dword [ebp - 0x324]
inc edx
mov dword [ebp - 0x2f8], edx
cmp dword [ebp - 0x2f8], ebx
je 0x46c637
mov eax, dword [ebp - 0x31c]
sub eax, 0xffffff80
mov dword [ebp - 0x31c], eax
jmp 0x46be90
add esp, 0x37c
pop ebx
pop esi
pop edi
pop ebp
ret