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

Disassembly:
mov eax, dword [edi]
mov dword [esi], eax
push ebx
mov ebx, dword [edi + 4]
cmp ebx, dword [esi + 4]
je 0x100037aa
test ebx, ebx
je 0x1000378d
lea ecx, [ebx + 8]
mov edx, 1
lock xadd dword [ecx], edx
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x100037a7
lea eax, [ecx + 8]
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x100037a7
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
mov dword [esi + 4], ebx
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
movzx ecx, byte [edi + 0xc]
mov byte [esi + 0xc], cl
movzx edx, byte [edi + 0xd]
mov byte [esi + 0xd], dl
movzx eax, byte [edi + 0xe]
mov byte [esi + 0xe], al
movzx ecx, byte [edi + 0xf]
mov byte [esi + 0xf], cl
movzx edx, byte [edi + 0x10]
mov byte [esi + 0x10], dl
movzx eax, byte [edi + 0x11]
mov byte [esi + 0x11], al
lea edx, [edi + 0x1c]
fld dword [edi + 0x14]
push edx
fstp dword [esi + 0x14]
mov ecx, dword [edi + 0x18]
mov dword [esi + 0x18], ecx
lea ecx, [esi + 0x1c]
call dword [0x1012717c]
mov eax, dword [edi + 0x38]
mov dword [esi + 0x38], eax
mov ecx, dword [edi + 0x3c]
mov dword [esi + 0x3c], ecx
mov edx, dword [edi + 0x40]
lea ecx, [edi + 0x48]
mov dword [esi + 0x40], edx
mov eax, dword [edi + 0x44]
push ecx
lea ecx, [esi + 0x48]
mov dword [esi + 0x44], eax
call dword [0x1012717c]
mov edx, dword [edi + 0x68]
mov dword [esi + 0x68], edx
mov eax, dword [edi + 0x6c]
mov dword [esi + 0x6c], eax
mov ecx, dword [edi + 0x70]
mov dword [esi + 0x70], ecx
mov edx, dword [edi + 0x74]
mov dword [esi + 0x74], edx
mov eax, dword [edi + 0x78]
mov dword [esi + 0x78], eax
mov ecx, dword [edi + 0x7c]
mov dword [esi + 0x7c], ecx
mov edx, dword [edi + 0x80]
mov dword [esi + 0x80], edx
mov eax, dword [edi + 0x84]
mov dword [esi + 0x84], eax
mov ecx, dword [edi + 0x88]
mov dword [esi + 0x88], ecx
mov edx, dword [edi + 0x8c]
mov dword [esi + 0x8c], edx
mov eax, dword [edi + 0x90]
mov dword [esi + 0x90], eax
mov ecx, dword [edi + 0x94]
mov dword [esi + 0x94], ecx
mov edx, dword [edi + 0x98]
mov dword [esi + 0x98], edx
mov eax, dword [edi + 0x9c]
mov dword [esi + 0x9c], eax
mov ecx, dword [edi + 0xa0]
mov dword [esi + 0xa0], ecx
mov edx, dword [edi + 0xa4]
mov dword [esi + 0xa4], edx
mov eax, dword [edi + 0xa8]
mov dword [esi + 0xa8], eax
mov ecx, dword [edi + 0xac]
mov dword [esi + 0xac], ecx
mov edx, dword [edi + 0xb0]
mov dword [esi + 0xb0], edx
mov eax, dword [edi + 0xb4]
mov dword [esi + 0xb4], eax
mov ecx, dword [edi + 0xb8]
mov dword [esi + 0xb8], ecx
mov edx, dword [edi + 0xbc]
mov dword [esi + 0xbc], edx
mov eax, dword [edi + 0xc0]
mov dword [esi + 0xc0], eax
mov eax, dword [edi + 0xc8]
mov ecx, dword [edi + 0xc4]
add eax, eax
push ecx
sar eax, 1
lea ecx, [esi + 0xc4]
call fcn.10001a50
mov eax, dword [edi + 0xd4]
mov edx, dword [edi + 0xd0]
add eax, eax
sar eax, 1
push edx
lea ecx, [esi + 0xd0]
call fcn.10001a50
mov eax, dword [edi + 0xdc]
mov dword [esi + 0xdc], eax
mov ecx, dword [edi + 0xe0]
mov dword [esi + 0xe0], ecx
mov edx, dword [edi + 0xe4]
mov dword [esi + 0xe4], edx
mov eax, dword [edi + 0xe8]
mov dword [esi + 0xe8], eax
mov ecx, dword [edi + 0xec]
mov dword [esi + 0xec], ecx
mov edx, dword [edi + 0xf0]
mov dword [esi + 0xf0], edx
mov eax, dword [edi + 0xf4]
mov dword [esi + 0xf4], eax
mov ecx, dword [edi + 0xf8]
mov dword [esi + 0xf8], ecx
mov edx, dword [edi + 0xfc]
mov dword [esi + 0xfc], edx
fld dword [edi + 0x100]
fstp dword [esi + 0x100]
mov eax, dword [edi + 0x104]
mov dword [esi + 0x104], eax
mov ecx, dword [edi + 0x108]
mov dword [esi + 0x108], ecx
mov edx, dword [edi + 0x10c]
mov dword [esi + 0x10c], edx
mov eax, dword [edi + 0x110]
mov dword [esi + 0x110], eax
mov ecx, dword [edi + 0x114]
mov dword [esi + 0x114], ecx
mov edx, dword [edi + 0x118]
mov dword [esi + 0x118], edx
mov eax, dword [edi + 0x11c]
mov dword [esi + 0x11c], eax
mov ecx, dword [edi + 0x120]
mov dword [esi + 0x120], ecx
mov edx, dword [edi + 0x128]
mov dword [esi + 0x128], edx
mov eax, dword [edi + 0x12c]
mov dword [esi + 0x12c], eax
mov ecx, dword [edi + 0x130]
mov dword [esi + 0x130], ecx
mov edx, dword [edi + 0x134]
mov dword [esi + 0x134], edx
mov eax, dword [edi + 0x138]
mov dword [esi + 0x138], eax
mov ecx, dword [edi + 0x13c]
mov dword [esi + 0x13c], ecx
mov edx, dword [edi + 0x140]
mov dword [esi + 0x140], edx
mov eax, dword [edi + 0x144]
mov dword [esi + 0x144], eax
mov ecx, dword [edi + 0x148]
mov dword [esi + 0x148], ecx
movzx edx, byte [edi + 0x14c]
mov byte [esi + 0x14c], dl
mov eax, dword [edi + 0x150]
mov dword [esi + 0x150], eax
movzx ecx, byte [edi + 0x154]
mov byte [esi + 0x154], cl
movzx edx, byte [edi + 0x155]
mov byte [esi + 0x155], dl
movzx eax, byte [edi + 0x156]
mov byte [esi + 0x156], al
movzx ecx, byte [edi + 0x157]
mov byte [esi + 0x157], cl
mov edx, dword [edi + 0x158]
mov dword [esi + 0x158], edx
mov eax, dword [edi + 0x160]
mov dword [esi + 0x160], eax
mov ecx, dword [edi + 0x164]
mov dword [esi + 0x164], ecx
mov edx, dword [edi + 0x168]
mov dword [esi + 0x168], edx
mov eax, dword [edi + 0x16c]
mov dword [esi + 0x16c], eax
mov ecx, dword [edi + 0x170]
mov dword [esi + 0x170], ecx
mov edx, dword [edi + 0x174]
mov dword [esi + 0x174], edx
mov eax, dword [edi + 0x178]
mov dword [esi + 0x178], eax
mov ecx, dword [edi + 0x17c]
mov dword [esi + 0x17c], ecx
mov edx, dword [edi + 0x180]
mov dword [esi + 0x180], edx
mov eax, dword [edi + 0x184]
mov dword [esi + 0x184], eax
mov ecx, dword [edi + 0x188]
mov dword [esi + 0x188], ecx
movzx edx, byte [edi + 0x18c]
mov byte [esi + 0x18c], dl
movzx eax, byte [edi + 0x18d]
mov byte [esi + 0x18d], al
mov ecx, dword [edi + 0x18e]
mov dword [esi + 0x18e], ecx
mov edx, dword [edi + 0x192]
mov dword [esi + 0x192], edx
mov eax, dword [edi + 0x196]
mov dword [esi + 0x196], eax
mov ecx, dword [edi + 0x19a]
mov dword [esi + 0x19a], ecx
mov edx, dword [edi + 0x19e]
mov dword [esi + 0x19e], edx
mov eax, dword [edi + 0x1a4]
mov dword [esi + 0x1a4], eax
mov ecx, dword [edi + 0x1a8]
mov dword [esi + 0x1a8], ecx
mov edx, dword [edi + 0x1ac]
mov dword [esi + 0x1ac], edx
mov eax, dword [edi + 0x1b0]
mov dword [esi + 0x1b0], eax
mov ecx, dword [edi + 0x1b4]
mov dword [esi + 0x1b4], ecx
mov edx, dword [edi + 0x1b8]
mov dword [esi + 0x1b8], edx
mov eax, dword [edi + 0x1bc]
mov dword [esi + 0x1bc], eax
mov eax, esi
pop ebx
ret