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

Disassembly:
push 0xffffffffffffffff
push 0x1016496f
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101e0cf8]
xor eax, esp
push eax
lea eax, [esp + 0xc8]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
mov dword [esp + 0x30], ebx
mov eax, dword [esp + 0xdc]
push eax
mov dword [esp + 0xd4], 1
call fcn.100212f0
push 0x4d
lea ecx, [esp + 0x4c]
mov dword [esp + 0x2c], eax
call fcn.1000d900
push 1
push ebx
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0xec]
mov byte [esp + 0xdc], 2
call fcn.1000da60
mov edx, dword [esp + 0x48]
push eax
mov eax, dword [edx + 0x38]
lea ecx, [esp + 0x4c]
mov byte [esp + 0xd4], 3
call eax
lea ecx, [esp + 0x38]
mov byte [esp + 0xd0], 2
call fcn.1000d9b0
lea ecx, [esp + 0x24]
call fcn.10007890
mov eax, dword [esp + 0xf0]
cmp eax, ebx
mov byte [esp + 0xd0], 4
je 0x100213d5
push eax
lea ecx, [esp + 0x28]
call fcn.10007930
lea ecx, [esp + 0x48]
call fcn.1000cd60
mov esi, eax
lea ecx, [esi + 1]
push ecx
call fcn.100b9926
mov edx, dword [esp + 0x4c]
add esp, 4
mov ebp, eax
mov eax, dword [edx + 0x50]
push esi
lea ecx, [esp + 0x4c]
mov dword [esp + 0x30], ebp
call eax
push eax
push ebp
call fcn.100bcf90
mov byte [esi + ebp], 0
mov cx, word [0x101818f0]
mov dl, byte [0x101818f2]
add esp, 0xc
mov word [esp + 0x14], cx
push 0x4d
lea ecx, [esp + 0x9c]
mov byte [esp + 0x1a], dl
mov dword [esp + 0x20], ebx
call fcn.1000d900
push 0x4d
lea ecx, [esp + 0x8c]
mov byte [esp + 0xd4], 5
call fcn.1000d900
push 0x4d
lea ecx, [esp + 0x7c]
mov byte [esp + 0xd4], 6
call fcn.1000d900
mov eax, dword [edi + 0x58]
mov edx, dword [eax + 0x34]
lea ecx, [edi + 0x58]
push 0x1018057c
mov byte [esp + 0xd4], 7
call edx
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
push ecx
push edx
xor ebp, ebp
call fcn.100be4ad
add esp, 0xc
cmp eax, ebx
je 0x100218cf
jmp 0x100214a0
mov edi, 0x101818e8
mov esi, eax
mov ecx, 7
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x1002152d
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
push ecx
push ebx
call fcn.100be4ad
mov esi, eax
add esp, 0xc
cmp esi, ebx
je 0x100218b2
cmp ebp, ebx
je 0x100214ec
mov edx, dword [esp + 0xdc]
mov ecx, dword [esp + 0x28]
push ebp
push edx
call fcn.10013a00
mov ecx, eax
call fcn.1001f4e0
push 0x80
call fcn.100bbdb6
add esp, 4
mov dword [esp + 0x20], eax
cmp eax, ebx
mov byte [esp + 0xd0], 8
je 0x10021512
mov ecx, eax
call fcn.10073ac0
jmp 0x10021514
xor eax, eax
mov edx, dword [eax]
mov ebp, eax
mov ecx, eax
mov eax, dword [edx + 0x34]
push esi
mov byte [esp + 0xd4], 7
call eax
jmp 0x10021897
mov edi, 0x101818e4
mov esi, eax
mov ecx, 4
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x10021614
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
push ecx
push ebx
call fcn.100be4ad
add esp, 0xc
cmp eax, ebx
je 0x100218b2
cmp dword [esp + 0xf0], ebx
je 0x10021603
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x1c]
push ecx
push eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], ebx
call fcn.10007970
lea ecx, [esp + 0x58]
call fcn.100774f0
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
push edx
push eax
lea ecx, [esp + 0x60]
mov byte [esp + 0xd8], 9
call fcn.10075840
push ebx
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x60]
call fcn.1007abd0
mov edx, dword [ebp + 0x10]
lea ecx, [ebp + 0x10]
push eax
mov eax, dword [edx + 0x38]
mov byte [esp + 0xd4], 0xa
call eax
lea ecx, [esp + 0x38]
mov byte [esp + 0xd0], 9
call fcn.1000d9b0
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x28]
call fcn.100079c0
lea ecx, [esp + 0x58]
mov byte [esp + 0xd0], 7
call fcn.10077540
jmp 0x10021897
mov edx, dword [ebp + 0x10]
lea ecx, [ebp + 0x10]
push eax
mov eax, dword [edx + 0x34]
call eax
jmp 0x10021897
mov edi, str.baseoid
mov esi, eax
mov ecx, 8
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x10021652
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
push ecx
push ebx
call fcn.100be4ad
add esp, 0xc
cmp eax, ebx
je 0x100218b2
mov edx, dword [ebp + 0x70]
lea ecx, [ebp + 0x70]
push eax
mov eax, dword [edx + 0x34]
call eax
jmp 0x10021897
mov edi, 0x101818d4
mov esi, eax
mov ecx, 5
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x10021690
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
push ecx
push ebx
call fcn.100be4ad
add esp, 0xc
cmp eax, ebx
je 0x100218b2
mov edx, dword [ebp + 0x20]
lea ecx, [ebp + 0x20]
push eax
mov eax, dword [edx + 0x34]
call eax
jmp 0x10021897
mov edi, str.rtype
mov esi, eax
mov ecx, 6
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x100216ce
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
push ecx
push ebx
call fcn.100be4ad
add esp, 0xc
cmp eax, ebx
je 0x100218b2
mov edx, dword [ebp + 0x30]
lea ecx, [ebp + 0x30]
push eax
mov eax, dword [edx + 0x34]
call eax
jmp 0x10021897
mov edi, str.command
mov esi, eax
mov ecx, 8
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x1002177a
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
push ecx
push ebx
call fcn.100be4ad
mov esi, eax
add esp, 0xc
cmp esi, ebx
je 0x100218b2
cmp dword [esp + 0xf0], ebx
je 0x10021769
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x1c]
push eax
push esi
lea ecx, [esp + 0x30]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], ebx
call fcn.10007970
lea ecx, [esp + 0x58]
call fcn.100774f0
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
push ecx
push edx
lea ecx, [esp + 0x60]
mov byte [esp + 0xd8], 0xb
call fcn.10075840
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x28]
call fcn.100079c0
lea ecx, [esp + 0x58]
mov byte [esp + 0xd0], 7
call fcn.10077540
mov edx, dword [ebp + 0x40]
mov eax, dword [edx + 0x34]
lea ecx, [ebp + 0x40]
push esi
call eax
jmp 0x10021897
mov edi, 0x101818bc
mov esi, eax
mov ecx, 6
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x10021880
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
push ecx
push ebx
call fcn.100be4ad
add esp, 0xc
cmp eax, ebx
je 0x100218b2
cmp dword [esp + 0xf0], ebx
je 0x10021870
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x24]
push ecx
push eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x24], ebx
call fcn.10007970
lea ecx, [esp + 0x58]
call fcn.100774f0
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
push edx
push eax
lea ecx, [esp + 0x60]
mov byte [esp + 0xd8], 0xc
call fcn.10075840
mov ecx, dword [esp + 0x18]
push ebx
push ecx
sub esp, 0x10
lea edx, [ebp + 0x20]
mov ecx, esp
mov dword [esp + 0x4c], esp
push edx
call fcn.1000cd30
call fcn.10081d70
add esp, 0x10
push eax
sub esp, 0x20
lea eax, [esp + 0x84]
mov ecx, esp
mov dword [esp + 0x60], esp
push eax
call fcn.10077510
lea ecx, [esp + 0xd4]
push ecx
call fcn.10081b80
add esp, 0x30
mov edx, dword [ebp + 0x50]
lea ecx, [ebp + 0x50]
push eax
mov eax, dword [edx + 4]
mov byte [esp + 0xd4], 0xd
call eax
lea ecx, [esp + 0xa8]
mov byte [esp + 0xd0], 0xc
call fcn.10077540
lea ecx, [esp + 0x20]
jmp 0x100215e3
mov edx, dword [ebp + 0x50]
lea ecx, [ebp + 0x50]
push 0x4d
push eax
mov eax, dword [edx + 0x78]
call eax
jmp 0x10021897
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x18]
push edx
push ebx
call fcn.100be4ad
add esp, 0xc
cmp eax, ebx
je 0x100218b2
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
push ecx
push ebx
call fcn.100be4ad
add esp, 0xc
cmp eax, ebx
jne 0x100214a0
cmp ebp, ebx
je 0x100218cf
mov edx, dword [esp + 0xdc]
mov ecx, dword [esp + 0x28]
push ebp
push edx
call fcn.10013a00
mov ecx, eax
call fcn.1001f4e0
mov eax, dword [esp + 0x2c]
push eax
call fcn.100bcb83
mov esi, dword [esp + 0xdc]
add esp, 4
push 0x4d
mov ecx, esi
call fcn.1000d900
mov edx, dword [esi]
mov eax, dword [edx + 0x34]
push 0x1018057c
mov ecx, esi
mov dword [esp + 0x34], 1
call eax
mov edx, dword [esp + 0xdc]
push ebx
lea ecx, [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x30]
push edx
call fcn.10013a00
mov ecx, eax
call fcn.1001eda0
push eax
push 0x101818b8
mov byte [esp + 0xd8], 0xe
call fcn.1000d700
add esp, 8
lea ecx, [esp + 0x38]
mov bl, al
mov byte [esp + 0xd0], 7
call fcn.1000d9b0
test bl, bl
je 0x1002197c
mov eax, dword [esi]
mov edx, dword [eax + 0x34]
push str._SNMP__n
mov ecx, esi
call edx
cmp dword [esp + 0xf0], 0
je 0x10021a16
mov eax, dword [esi]
mov edx, dword [eax + 0x48]
push str.______XML_With_MIMEData______n
mov ecx, esi
call edx
jmp 0x10021a16
mov ecx, dword [esp + 0xdc]
push 0
lea eax, [esp + 0x3c]
push eax
push ecx
mov ecx, dword [esp + 0x34]
call fcn.10013a00
mov ecx, eax
call fcn.1001eda0
push eax
push str.LOCAL
mov byte [esp + 0xd8], 0xf
call fcn.1000d700
add esp, 8
lea ecx, [esp + 0x38]
mov bl, al
mov byte [esp + 0xd0], 7
call fcn.1000d9b0
test bl, bl
je 0x10021a08
push 0x10181884
add ebp, 0x40
push ebp
call fcn.1000d6e0
mov edx, dword [esi]
add esp, 8
test al, al
mov eax, dword [edx + 0x34]
mov ecx, esi
je 0x100219eb
push 0x10181874
jmp 0x100219f0
push str.ExecSendRecv
call eax
cmp dword [esp + 0xf0], 0
je 0x10021a16
mov edx, dword [esi]
mov eax, dword [edx + 0x48]
push str.______XML_With_MIMEData______n
jmp 0x10021a12
mov edx, dword [esi]
mov eax, dword [edx + 0x34]
push str.UNKOWN_FUNCTION
mov ecx, esi
call eax
lea ecx, [esp + 0x78]
mov byte [esp + 0xd0], 6
call fcn.1000d9b0
lea ecx, [esp + 0x88]
mov byte [esp + 0xd0], 5
call fcn.1000d9b0
lea ecx, [esp + 0x98]
mov byte [esp + 0xd0], 4
call fcn.1000d9b0
lea ecx, [esp + 0x24]
mov byte [esp + 0xd0], 2
call fcn.10007910
lea ecx, [esp + 0x48]
mov byte [esp + 0xd0], 1
call fcn.1000d9b0
lea ecx, [esp + 0xe0]
mov byte [esp + 0xd0], 0
call fcn.1000d9b0
mov eax, esi
mov ecx, dword [esp + 0xc8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc0
ret 0x1c